]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] m68k irqs_disabled()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 26 Jul 2003 02:37:27 +0000 (19:37 -0700)
committerJens Axboe <axboe@suse.de>
Sat, 26 Jul 2003 02:37:27 +0000 (19:37 -0700)
M68k: Allow ALLOWINT to be used with other types than short (fixes a problem
with irqs_disabled(), from Roman Zippel)

include/asm-m68k/entry.h

index ab9cd8c80af2062d960fcf304313dfa9ba576b4a..5222d5cc9de2f9a6e918d8be5b9925aabf518f5d 100644 (file)
 /* the following macro is used when enabling interrupts */
 #if defined(MACH_ATARI_ONLY) && !defined(CONFIG_HADES)
        /* block out HSYNC on the atari */
-#define ALLOWINT 0xfbff
+#define ALLOWINT       (~0x400)
 #define        MAX_NOINT_IPL   3
 #else
        /* portable version */
-#define ALLOWINT 0xf8ff
+#define ALLOWINT       (~0x700)
 #define        MAX_NOINT_IPL   0
 #endif /* machine compilation types */