Simon Glass | 744d985 | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2011 The Chromium OS Authors. |
| 3 | * |
Wolfgang Denk | 3765b3e | 2013-10-07 13:07:26 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 744d985 | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __ASM_SANDBOX_SYSTEM_H |
| 8 | #define __ASM_SANDBOX_SYSTEM_H |
| 9 | |
| 10 | /* Define this as nops for sandbox architecture */ |
Masahiro Yamada | 1638d98 | 2014-06-12 12:26:15 +0900 | [diff] [blame] | 11 | #define local_irq_save(x) |
Simon Glass | 744d985 | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 12 | #define local_irq_enable() |
| 13 | #define local_irq_disable() |
| 14 | #define local_save_flags(x) |
| 15 | #define local_irq_restore(x) |
| 16 | |
| 17 | #endif |