diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-28 13:05:33 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-28 13:05:33 -0400 |
commit | 38736072d45488fd45f076388b6570419bbbc682 (patch) | |
tree | b5d8019bf35757b8d2c312ab38ea8a669615c07f /arch/x86 | |
parent | cd13adcc823aa421efa4efd995fa7004a58cf38d (diff) |
x86, mce: drop "extern" from function prototypes in asm/mce.h
Function prototypes don't need to be prefixed by "extern".
[ Impact: cleanup ]
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/mce.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index e7d2372301ef..ac6e0303bf21 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h | |||
@@ -121,13 +121,13 @@ void mce_amd_feature_init(struct cpuinfo_x86 *c); | |||
121 | static inline void mce_amd_feature_init(struct cpuinfo_x86 *c) { } | 121 | static inline void mce_amd_feature_init(struct cpuinfo_x86 *c) { } |
122 | #endif | 122 | #endif |
123 | 123 | ||
124 | extern int mce_available(struct cpuinfo_x86 *c); | 124 | int mce_available(struct cpuinfo_x86 *c); |
125 | 125 | ||
126 | void mce_log_therm_throt_event(__u64 status); | 126 | void mce_log_therm_throt_event(__u64 status); |
127 | 127 | ||
128 | extern atomic_t mce_entry; | 128 | extern atomic_t mce_entry; |
129 | 129 | ||
130 | extern void do_machine_check(struct pt_regs *, long); | 130 | void do_machine_check(struct pt_regs *, long); |
131 | 131 | ||
132 | typedef DECLARE_BITMAP(mce_banks_t, MAX_NR_BANKS); | 132 | typedef DECLARE_BITMAP(mce_banks_t, MAX_NR_BANKS); |
133 | DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); | 133 | DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); |
@@ -137,15 +137,15 @@ enum mcp_flags { | |||
137 | MCP_UC = (1 << 1), /* log uncorrected errors */ | 137 | MCP_UC = (1 << 1), /* log uncorrected errors */ |
138 | MCP_DONTLOG = (1 << 2), /* only clear, don't log */ | 138 | MCP_DONTLOG = (1 << 2), /* only clear, don't log */ |
139 | }; | 139 | }; |
140 | extern void machine_check_poll(enum mcp_flags flags, mce_banks_t *b); | 140 | void machine_check_poll(enum mcp_flags flags, mce_banks_t *b); |
141 | 141 | ||
142 | extern int mce_notify_user(void); | 142 | int mce_notify_user(void); |
143 | 143 | ||
144 | DECLARE_PER_CPU(struct mce, injectm); | 144 | DECLARE_PER_CPU(struct mce, injectm); |
145 | extern struct file_operations mce_chrdev_ops; | 145 | extern struct file_operations mce_chrdev_ops; |
146 | 146 | ||
147 | #ifdef CONFIG_X86_MCE | 147 | #ifdef CONFIG_X86_MCE |
148 | extern void mcheck_init(struct cpuinfo_x86 *c); | 148 | void mcheck_init(struct cpuinfo_x86 *c); |
149 | #else | 149 | #else |
150 | #define mcheck_init(c) do { } while (0) | 150 | #define mcheck_init(c) do { } while (0) |
151 | #endif | 151 | #endif |