2 * Copyright (c) 2011 The Chromium OS Authors.
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef __ASM_SANDBOX_BYTEORDER_H
8 #define __ASM_SANDBOX_BYTEORDER_H
11 #include <asm/types.h>
13 #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
14 # define __BYTEORDER_HAS_U64__
15 # define __SWAB_64_THRU_32__
18 #ifdef CONFIG_SANDBOX_BIG_ENDIAN
19 #include <linux/byteorder/big_endian.h>
21 #include <linux/byteorder/little_endian.h>