Change bank_map type from 'char' to 'int' since we now have more than eight banks in a system.
Unified · Split
| @@ -93,7 +93,7 @@ const char * const amd_df_mcablock_names[] = { · 92 unmodified lines | |||
| 93 | EXPORT_SYMBOL_GPL(amd_df_mcablock_names); | 93 | EXPORT_SYMBOL_GPL(amd_df_mcablock_names); |
| 94 | 94 | ||
| 95 | static DEFINE_PER_CPU(struct threshold_bank **, threshold_banks); | 95 | 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 */ |
| 97 | 97 | ||
| 98 | static void amd_threshold_interrupt(void); | 98 | static void amd_threshold_interrupt(void); |
| 99 | static void amd_deferred_error_interrupt(void); | 99 | static void amd_deferred_error_interrupt(void); |