diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-02-02 11:29:19 -0500 |
---|---|---|
committer | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-02-02 12:57:48 -0500 |
commit | 15c554439faedfa490389b31db893dc764245e88 (patch) | |
tree | ab251f47a34b8c8c5b7c21aa45c818de926aa8d1 /arch | |
parent | 8d4b4981195849dd50ed94be33ede926c6f41dcd (diff) |
headers_check fix: x86, setup.h
fix the following 'make headers_check' warning:
usr/include/asm/setup.h:16: extern's make no sense in userspace
usr/include/asm/setup.h:17: extern's make no sense in userspace
usr/include/asm/setup.h:23: extern's make no sense in userspace
usr/include/asm/setup.h:24: extern's make no sense in userspace
usr/include/asm/setup.h:51: extern's make no sense in userspace
usr/include/asm/setup.h:52: extern's make no sense in userspace
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/setup.h | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h index ebe858cdc8a3..5a3a13715756 100644 --- a/arch/x86/include/asm/setup.h +++ b/arch/x86/include/asm/setup.h | |||
@@ -5,23 +5,6 @@ | |||
5 | 5 | ||
6 | #ifndef __ASSEMBLY__ | 6 | #ifndef __ASSEMBLY__ |
7 | 7 | ||
8 | /* Interrupt control for vSMPowered x86_64 systems */ | ||
9 | void vsmp_init(void); | ||
10 | |||
11 | |||
12 | void setup_bios_corruption_check(void); | ||
13 | |||
14 | |||
15 | #ifdef CONFIG_X86_VISWS | ||
16 | extern void visws_early_detect(void); | ||
17 | extern int is_visws_box(void); | ||
18 | #else | ||
19 | static inline void visws_early_detect(void) { } | ||
20 | static inline int is_visws_box(void) { return 0; } | ||
21 | #endif | ||
22 | |||
23 | extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip); | ||
24 | extern int wakeup_secondary_cpu_via_init(int apicid, unsigned long start_eip); | ||
25 | /* | 8 | /* |
26 | * Any setup quirks to be performed? | 9 | * Any setup quirks to be performed? |
27 | */ | 10 | */ |
@@ -48,12 +31,6 @@ struct x86_quirks { | |||
48 | int (*update_genapic)(void); | 31 | int (*update_genapic)(void); |
49 | }; | 32 | }; |
50 | 33 | ||
51 | extern struct x86_quirks *x86_quirks; | ||
52 | extern unsigned long saved_video_mode; | ||
53 | |||
54 | #ifndef CONFIG_PARAVIRT | ||
55 | #define paravirt_post_allocator_init() do {} while (0) | ||
56 | #endif | ||
57 | #endif /* __ASSEMBLY__ */ | 34 | #endif /* __ASSEMBLY__ */ |
58 | 35 | ||
59 | #ifdef __KERNEL__ | 36 | #ifdef __KERNEL__ |
@@ -78,6 +55,28 @@ extern unsigned long saved_video_mode; | |||
78 | #ifndef __ASSEMBLY__ | 55 | #ifndef __ASSEMBLY__ |
79 | #include <asm/bootparam.h> | 56 | #include <asm/bootparam.h> |
80 | 57 | ||
58 | /* Interrupt control for vSMPowered x86_64 systems */ | ||
59 | void vsmp_init(void); | ||
60 | |||
61 | void setup_bios_corruption_check(void); | ||
62 | |||
63 | #ifdef CONFIG_X86_VISWS | ||
64 | extern void visws_early_detect(void); | ||
65 | extern int is_visws_box(void); | ||
66 | #else | ||
67 | static inline void visws_early_detect(void) { } | ||
68 | static inline int is_visws_box(void) { return 0; } | ||
69 | #endif | ||
70 | |||
71 | extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip); | ||
72 | extern int wakeup_secondary_cpu_via_init(int apicid, unsigned long start_eip); | ||
73 | extern struct x86_quirks *x86_quirks; | ||
74 | extern unsigned long saved_video_mode; | ||
75 | |||
76 | #ifndef CONFIG_PARAVIRT | ||
77 | #define paravirt_post_allocator_init() do {} while (0) | ||
78 | #endif | ||
79 | |||
81 | #ifndef _SETUP | 80 | #ifndef _SETUP |
82 | 81 | ||
83 | /* | 82 | /* |