diff options
| -rw-r--r-- | arch/x86/kernel/apic/hw_nmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/hw_nmi.c b/arch/x86/kernel/apic/hw_nmi.c index c95c3e9ce196..6873ab925d00 100644 --- a/arch/x86/kernel/apic/hw_nmi.c +++ b/arch/x86/kernel/apic/hw_nmi.c | |||
| @@ -30,7 +30,7 @@ u64 hw_nmi_get_sample_period(int watchdog_thresh) | |||
| 30 | #ifdef arch_trigger_all_cpu_backtrace | 30 | #ifdef arch_trigger_all_cpu_backtrace |
| 31 | /* For reliability, we're prepared to waste bits here. */ | 31 | /* For reliability, we're prepared to waste bits here. */ |
| 32 | static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly; | 32 | static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly; |
| 33 | static cpumask_var_t printtrace_mask; | 33 | static cpumask_t printtrace_mask; |
| 34 | 34 | ||
| 35 | #define NMI_BUF_SIZE 4096 | 35 | #define NMI_BUF_SIZE 4096 |
| 36 | 36 | ||
| @@ -73,7 +73,7 @@ void arch_trigger_all_cpu_backtrace(bool include_self) | |||
| 73 | if (!include_self) | 73 | if (!include_self) |
| 74 | cpumask_clear_cpu(this_cpu, to_cpumask(backtrace_mask)); | 74 | cpumask_clear_cpu(this_cpu, to_cpumask(backtrace_mask)); |
| 75 | 75 | ||
| 76 | cpumask_copy(printtrace_mask, to_cpumask(backtrace_mask)); | 76 | cpumask_copy(&printtrace_mask, to_cpumask(backtrace_mask)); |
| 77 | /* | 77 | /* |
| 78 | * Set up per_cpu seq_buf buffers that the NMIs running on the other | 78 | * Set up per_cpu seq_buf buffers that the NMIs running on the other |
| 79 | * CPUs will write to. | 79 | * CPUs will write to. |
| @@ -101,7 +101,7 @@ void arch_trigger_all_cpu_backtrace(bool include_self) | |||
| 101 | * Now that all the NMIs have triggered, we can dump out their | 101 | * Now that all the NMIs have triggered, we can dump out their |
| 102 | * back traces safely to the console. | 102 | * back traces safely to the console. |
| 103 | */ | 103 | */ |
| 104 | for_each_cpu(cpu, printtrace_mask) { | 104 | for_each_cpu(cpu, &printtrace_mask) { |
| 105 | int last_i = 0; | 105 | int last_i = 0; |
| 106 | 106 | ||
| 107 | s = &per_cpu(nmi_print_seq, cpu); | 107 | s = &per_cpu(nmi_print_seq, cpu); |
