summaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/asm.h
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-19 20:40:07 -0400
commit02f99d1ca70d190ce12d040971819be22ea710c8 (patch)
treee644b9cf4dc358832c6f77b82e0c295139147663 /include/asm-avr32/asm.h
parent46acb55b4b745256a33b2eaeb6d21fffdb091745 (diff)
downloadblackbird-op-linux-02f99d1ca70d190ce12d040971819be22ea710c8.tar.gz
blackbird-op-linux-02f99d1ca70d190ce12d040971819be22ea710c8.zip
avr32: Use constants from sysreg.h in asm.h
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/asm.h')
-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
OpenPOWER on IntegriCloud