x86: section mismatch fix

Fix this:

WARNING: vmlinux.o(.text+0x114bb): Section mismatch in reference from
the function nopat() to the function .cpuinit.text:pat_disable()
The function nopat() references
the function __cpuinit pat_disable().
This is often because nopat lacks a __cpuinit
annotation or the annotation of pat_disable is wrong.

Reported-by: "Fabio Comolli" <fabio.comolli@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Andrew Morton and committed by Thomas Gleixner be524fb9 282c454c

+1 -1
+1 -1
arch/x86/mm/pat.c
··· 34 printk(KERN_INFO "%s\n", reason); 35 } 36 37 - static int nopat(char *str) 38 { 39 pat_disable("PAT support disabled."); 40 return 0;
··· 34 printk(KERN_INFO "%s\n", reason); 35 } 36 37 + static int __init nopat(char *str) 38 { 39 pat_disable("PAT support disabled."); 40 return 0;