diff options
| -rw-r--r-- | firmware/export/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index 07b7094..1fc9b09 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -129,9 +129,9 @@ enum { #define EMAC_FRACTIONAL 0x20 #define EMAC_SATURATE 0x80 -static inline void coldfire_set_macsr(const unsigned long flags) +static inline void coldfire_set_macsr(unsigned long flags) { - asm volatile ("move.l %0, %%macsr" : : "r" (flags)); + asm volatile ("move.l %0, %%macsr" : : "i,r" (flags)); } static inline unsigned long coldfire_get_macsr(void) |