Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2011 The Chromium OS Authors. |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __ASM_SANDBOX_SYSTEM_H |
| 7 | #define __ASM_SANDBOX_SYSTEM_H |
| 8 | |
| 9 | /* Define this as nops for sandbox architecture */ |
Masahiro Yamada | 28665b5 | 2014-06-12 12:26:15 +0900 | [diff] [blame] | 10 | #define local_irq_save(x) |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 11 | #define local_irq_enable() |
| 12 | #define local_irq_disable() |
| 13 | #define local_save_flags(x) |
| 14 | #define local_irq_restore(x) |
| 15 | |
| 16 | #endif |