History

x86/mce/AMD: Increase size of the bank_map type

Change bank_map type from 'char' to 'int' since we now have more than eight banks in a system.

Aravind Gopalakrishnan committed 10 years ago

Commit 955d1421 parent bac93121 file · +1 −1Browse files

Unified · Split

arch/x86/kernel/cpu/mcheck/mce_amd.c+1−1
@@ -93,7 +93,7 @@ const char * const amd_df_mcablock_names[] = { · 92 unmodified lines
9393 EXPORT_SYMBOL_GPL(amd_df_mcablock_names);
9494
9595 static DEFINE_PER_CPU(struct threshold_bank **, threshold_banks);
96−static DEFINE_PER_CPU(unsigned char, bank_map); /* see which banks are on */
96+static DEFINE_PER_CPU(unsigned int, bank_map); /* see which banks are on */
9797
9898 static void amd_threshold_interrupt(void);
9999 static void amd_deferred_error_interrupt(void);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t