From bc12135d131aea56830acd07a5188b006e28df0a Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Fri, 25 Jul 2003 19:37:27 -0700 Subject: [PATCH] m68k irqs_disabled() 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3