mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-19 16:31:27 +01:00
Normally, local_save_flags is used as part of the local_irq_* macros, so remove that as it's unused. Make local_irq_save do something to the passed variable so that it won't trigger unused variable warnings later. Signed-off-by: Tom Rini <trini@konsulko.com>
16 lines
353 B
C
16 lines
353 B
C
/* 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
|