From: Haavard Skinnemoen Date: Sun, 24 Feb 2008 22:19:22 +0000 (+0100) Subject: avr32: Use constants from sysreg.h in asm.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02f99d1ca70d190ce12d040971819be22ea710c8;p=openwrt%2Fstaging%2Fblogic.git avr32: Use constants from sysreg.h in asm.h Signed-off-by: Haavard Skinnemoen --- 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 #include -#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