diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-02-12 07:49:30 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-02-24 16:24:42 -0500 |
commit | 41fdff322e26c4a86fe65cf577f2556a650cb7bc (patch) | |
tree | d7865f0b5026c9ef23a101d9f8eae4322f6dbc65 /arch/x86/kernel | |
parent | dc731ca60954310be0993e8992d450c7089fd13d (diff) |
x86, mce, cmci: export MAX_NR_BANKS
Impact: Cleanup (code movement)
Move MAX_NR_BANKS into mce.h because it's needed there
for followup patches.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce_64.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_64.c b/arch/x86/kernel/cpu/mcheck/mce_64.c index a4a7c686ce90..39f8bb525a74 100644 --- a/arch/x86/kernel/cpu/mcheck/mce_64.c +++ b/arch/x86/kernel/cpu/mcheck/mce_64.c | |||
@@ -37,12 +37,6 @@ | |||
37 | 37 | ||
38 | #define MISC_MCELOG_MINOR 227 | 38 | #define MISC_MCELOG_MINOR 227 |
39 | 39 | ||
40 | /* | ||
41 | * To support more than 128 would need to escape the predefined | ||
42 | * Linux defined extended banks first. | ||
43 | */ | ||
44 | #define MAX_NR_BANKS (MCE_EXTENDED_BANK - 1) | ||
45 | |||
46 | atomic_t mce_entry; | 40 | atomic_t mce_entry; |
47 | 41 | ||
48 | static int mce_dont_init; | 42 | static int mce_dont_init; |