summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2008-02-24 23:19:22 +0100
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-04-20 02:40:07 +0200
commit02f99d1ca70d190ce12d040971819be22ea710c8 (patch)
treee644b9cf4dc358832c6f77b82e0c295139147663
parentavr32: Delete mostly unused header asm/intc.h (diff)
downloadlinux-02f99d1ca70d190ce12d040971819be22ea710c8.tar.xz
linux-02f99d1ca70d190ce12d040971819be22ea710c8.zip
avr32: Use constants from sysreg.h in asm.h
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
-rw-r--r--include/asm-avr32/asm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-avr32/asm.h b/include/asm-avr32/asm.h
index 515c7618952b..a2c64f404b98 100644
--- a/include/asm-avr32/asm.h
+++ b/include/asm-avr32/asm.h
@@ -12,10 +12,10 @@
#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