powerpc: Fix might-sleep warning in program check exception handler

On 32-bit, the exception prolog for the program check exception doesn't
enable interrupts early on. If it is an illegal instruction exception,
we read the instruction in order to emulate certain instructions, and
the get_user of the instruction triggers a WARN_ON since interrupts
are still disabled. This adds a local_irq_enable() to enable
interrupts before reading the instruction.

Signed-off-by: Paul Mackerras <paulus@samba.org>

+2
+2
arch/powerpc/kernel/traps.c
··· 814 814 return; 815 815 } 816 816 817 + local_irq_enable(); 818 + 817 819 /* Try to emulate it if we should. */ 818 820 if (reason & (REASON_ILLEGAL | REASON_PRIVILEGED)) { 819 821 switch (emulate_instruction(regs)) {