blob: 95ec7d1068f7c049a7adabe3d9d7dadac2279f63 [file] [log] [blame]
Simon Glassb4a905e2011-10-10 08:22:14 +00001/*
2 * Copyright (c) 2011 The Chromium OS Authors.
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Simon Glassb4a905e2011-10-10 08:22:14 +00005 */
6
7#ifndef __ASM_SANDBOX_SYSTEM_H
8#define __ASM_SANDBOX_SYSTEM_H
9
10/* Define this as nops for sandbox architecture */
11static inline void local_irq_save(unsigned flags __attribute__((unused)))
12{
13}
14
15#define local_irq_enable()
16#define local_irq_disable()
17#define local_save_flags(x)
18#define local_irq_restore(x)
19
20#endif