]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/alpha/kernel/traps.c
[PATCH] alpha smp fix
[linux-2.6-omap-h63xx.git] / arch / alpha / kernel / traps.c
index fd7bd17cc96049334d98207333042b9eae11190c..6f509a644bddade182f7b27dade5e971fffb0f13 100644 (file)
@@ -240,7 +240,7 @@ do_entIF(unsigned long type, struct pt_regs *regs)
        siginfo_t info;
        int signo, code;
 
-       if (regs->ps == 0) {
+       if ((regs->ps & ~IPL_MAX) == 0) {
                if (type == 1) {
                        const unsigned int *data
                          = (const unsigned int *) regs->pc;