aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-02 11:29:19 -0500
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-02 12:57:48 -0500
commit15c554439faedfa490389b31db893dc764245e88 (patch)
treeab251f47a34b8c8c5b7c21aa45c818de926aa8d1
parent8d4b4981195849dd50ed94be33ede926c6f41dcd (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>
-rw-r--r--arch/x86/include/asm/setup.h45
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 */
9void vsmp_init(void);
10
11
12void setup_bios_corruption_check(void);
13
14
15#ifdef CONFIG_X86_VISWS
16extern void visws_early_detect(void);
17extern int is_visws_box(void);
18#else
19static inline void visws_early_detect(void) { }
20static inline int is_visws_box(void) { return 0; }
21#endif
22
23extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip);
24extern 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
51extern struct x86_quirks *x86_quirks;
52extern 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 */
59void vsmp_init(void);
60
61void setup_bios_corruption_check(void);
62
63#ifdef CONFIG_X86_VISWS
64extern void visws_early_detect(void);
65extern int is_visws_box(void);
66#else
67static inline void visws_early_detect(void) { }
68static inline int is_visws_box(void) { return 0; }
69#endif
70
71extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip);
72extern int wakeup_secondary_cpu_via_init(int apicid, unsigned long start_eip);
73extern struct x86_quirks *x86_quirks;
74extern 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/*