diff options
Diffstat (limited to 'firmware/panic.c')
-rw-r--r-- | firmware/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/panic.c b/firmware/panic.c index 37a185f990..fb024693e1 100644 --- a/firmware/panic.c +++ b/firmware/panic.c | |||
@@ -43,7 +43,7 @@ void panicf( const char *fmt, ...) | |||
43 | /* Disable interrupts */ | 43 | /* Disable interrupts */ |
44 | #if CONFIG_CPU == SH7034 | 44 | #if CONFIG_CPU == SH7034 |
45 | asm volatile ("ldc\t%0,sr" : : "r"(15<<4)); | 45 | asm volatile ("ldc\t%0,sr" : : "r"(15<<4)); |
46 | #elif CONFIG_CPU == MCF5249 | 46 | #elif defined(CPU_COLDFIRE) |
47 | asm volatile ("move.w #0x2700,%sr"); | 47 | asm volatile ("move.w #0x2700,%sr"); |
48 | #endif | 48 | #endif |
49 | #endif | 49 | #endif |