diff options
-rw-r--r-- | arch/powerpc/xmon/xmon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index d712b23974ec..b07909850f77 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
@@ -404,7 +404,6 @@ static int xmon_core(struct pt_regs *regs, int fromipi) | |||
404 | } | 404 | } |
405 | 405 | ||
406 | xmon_fault_jmp[cpu] = recurse_jmp; | 406 | xmon_fault_jmp[cpu] = recurse_jmp; |
407 | cpumask_set_cpu(cpu, &cpus_in_xmon); | ||
408 | 407 | ||
409 | bp = NULL; | 408 | bp = NULL; |
410 | if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) | 409 | if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) |
@@ -426,6 +425,8 @@ static int xmon_core(struct pt_regs *regs, int fromipi) | |||
426 | release_output_lock(); | 425 | release_output_lock(); |
427 | } | 426 | } |
428 | 427 | ||
428 | cpumask_set_cpu(cpu, &cpus_in_xmon); | ||
429 | |||
429 | waiting: | 430 | waiting: |
430 | secondary = 1; | 431 | secondary = 1; |
431 | while (secondary && !xmon_gate) { | 432 | while (secondary && !xmon_gate) { |