summaryrefslogtreecommitdiff
path: root/cpu/microblaze/interrupts.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-05-07 23:58:31 +0200
committerMichal Simek <monstr@monstr.eu>2007-05-07 23:58:31 +0200
commitfb05f6da35ea1c15c553abe6f23f656bf18dc5db (patch)
tree97d017c2c93576570338cd2a5d2034981f131bc8 /cpu/microblaze/interrupts.c
parenta7bac7e9b57ba948051beb19ec5be3a75ce75383 (diff)
downloadu-boot-imx-fb05f6da35ea1c15c553abe6f23f656bf18dc5db.zip
u-boot-imx-fb05f6da35ea1c15c553abe6f23f656bf18dc5db.tar.gz
u-boot-imx-fb05f6da35ea1c15c553abe6f23f656bf18dc5db.tar.bz2
new: USE_MSR_INTR support
Diffstat (limited to 'cpu/microblaze/interrupts.c')
-rwxr-xr-x[-rw-r--r--]cpu/microblaze/interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/microblaze/interrupts.c b/cpu/microblaze/interrupts.c
index dd6a0c7..b61153f 100644..100755
--- a/cpu/microblaze/interrupts.c
+++ b/cpu/microblaze/interrupts.c
@@ -36,12 +36,12 @@ extern void microblaze_enable_interrupts (void);
void enable_interrupts (void)
{
- __asm__ __volatile__ ("msrset r0, 0x2");
+ MSRSET(0x2);
}
int disable_interrupts (void)
{
- __asm__ __volatile__ ("msrclr r0, 0x2");
+ MSRCLR(0x2);
return 0;
}