diff options
Diffstat (limited to 'qemu/roms/u-boot/include/asm-generic/unaligned.h')
-rw-r--r-- | qemu/roms/u-boot/include/asm-generic/unaligned.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/qemu/roms/u-boot/include/asm-generic/unaligned.h b/qemu/roms/u-boot/include/asm-generic/unaligned.h deleted file mode 100644 index fd0255099..000000000 --- a/qemu/roms/u-boot/include/asm-generic/unaligned.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef _GENERIC_UNALIGNED_H -#define _GENERIC_UNALIGNED_H - -#include <asm/byteorder.h> - -#include <linux/unaligned/le_byteshift.h> -#include <linux/unaligned/be_byteshift.h> -#include <linux/unaligned/generic.h> - -/* - * Select endianness - */ -#if defined(__LITTLE_ENDIAN) -#define get_unaligned __get_unaligned_le -#define put_unaligned __put_unaligned_le -#elif defined(__BIG_ENDIAN) -#define get_unaligned __get_unaligned_be -#define put_unaligned __put_unaligned_be -#else -#error invalid endian -#endif - -#endif |