]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
avr32: Use constants from sysreg.h in asm.h
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Sun, 24 Feb 2008 22:19:22 +0000 (23:19 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 20 Apr 2008 00:40:07 +0000 (20:40 -0400)
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/asm-avr32/asm.h

index 515c7618952ba2ef17fbdc94a9860eb4f24a7c39..a2c64f404b9823d82aead2c7470112caeadde94c 100644 (file)
 #include <asm/asm-offsets.h>
 #include <asm/thread_info.h>
 
-#define mask_interrupts                ssrf    SR_GM_BIT
-#define mask_exceptions                ssrf    SR_EM_BIT
-#define unmask_interrupts      csrf    SR_GM_BIT
-#define unmask_exceptions      csrf    SR_EM_BIT
+#define mask_interrupts                ssrf    SYSREG_GM_OFFSET
+#define mask_exceptions                ssrf    SYSREG_EM_OFFSET
+#define unmask_interrupts      csrf    SYSREG_GM_OFFSET
+#define unmask_exceptions      csrf    SYSREG_EM_OFFSET
 
 #ifdef CONFIG_FRAME_POINTER
        .macro  save_fp