summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2003-07-25 19:37:27 -0700
committerJens Axboe <axboe@suse.de>2003-07-25 19:37:27 -0700
commitbc12135d131aea56830acd07a5188b006e28df0a (patch)
treedeb39482f6619438091bb59b1bd50f4fc7142273 /include
parent4c0d5f05cb4e3263e9529d4d20b500a59f7a432d (diff)
[PATCH] m68k irqs_disabled()
M68k: Allow ALLOWINT to be used with other types than short (fixes a problem with irqs_disabled(), from Roman Zippel)
Diffstat (limited to 'include')
-rw-r--r--include/asm-m68k/entry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m68k/entry.h b/include/asm-m68k/entry.h
index ab9cd8c80af2..5222d5cc9de2 100644
--- a/include/asm-m68k/entry.h
+++ b/include/asm-m68k/entry.h
@@ -34,11 +34,11 @@
/* 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 */