Skip to content

Commit

Permalink
avr32: Use constants from sysreg.h in asm.h
Browse files Browse the repository at this point in the history
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
  • Loading branch information
Haavard Skinnemoen authored and Haavard Skinnemoen committed Apr 20, 2008
1 parent 46acb55 commit 02f99d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/asm-avr32/asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02f99d1

Please sign in to comment.