summaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm/system.h
blob: 73f34683b27565d5ab47fb78bbd200c6d84627fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 2011 The Chromium OS Authors.
 */

#ifndef __ASM_SANDBOX_SYSTEM_H
#define __ASM_SANDBOX_SYSTEM_H

/* Define this as nops for sandbox architecture */
#define local_irq_save(x)	do { (x) = 0; } while (0)
#define local_irq_enable()
#define local_irq_disable()
#define local_irq_restore(x)

#endif