diff options
author | Tom Rini <trini@konsulko.com> | 2023-10-18 19:58:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-26 09:37:23 -0400 |
commit | 2f6846283474bf668c3bd00f4553a3a92be4b707 (patch) | |
tree | 30d8d26b6ca030a3499c41fb96afc461cacd6a1e | |
parent | 5b8f4e90e22c9c25807fd0f43a6e93f4e4a7d012 (diff) | |
download | u-boot-2f6846283474bf668c3bd00f4553a3a92be4b707.zip u-boot-2f6846283474bf668c3bd00f4553a3a92be4b707.tar.gz u-boot-2f6846283474bf668c3bd00f4553a3a92be4b707.tar.bz2 |
sandbox: Add <asm/barrier.h>
Add a mostly empty asm/barrier.h file for sandbox where we define nop() to
be an empty function.
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
-rw-r--r-- | arch/sandbox/include/asm/barrier.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/barrier.h b/arch/sandbox/include/asm/barrier.h new file mode 100644 index 0000000..0928a78 --- /dev/null +++ b/arch/sandbox/include/asm/barrier.h @@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#define nop() |