summaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sandbox/include/asm/system.h')
-rw-r--r--arch/sandbox/include/asm/system.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sandbox/include/asm/system.h b/arch/sandbox/include/asm/system.h
index 066acc53fd..02beed35a7 100644
--- a/arch/sandbox/include/asm/system.h
+++ b/arch/sandbox/include/asm/system.h
@@ -8,10 +8,7 @@
#define __ASM_SANDBOX_SYSTEM_H
/* Define this as nops for sandbox architecture */
-static inline void local_irq_save(unsigned flags __attribute__((unused)))
-{
-}
-
+#define local_irq_save(x)
#define local_irq_enable()
#define local_irq_disable()
#define local_save_flags(x)