aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/asm/byteorder.h
blob: 994a61acf41b19639cb00573dada0d0eea59c268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _ASM_RISCV_BYTEORDER_H
#define _ASM_RISCV_BYTEORDER_H

#if defined(__RISCVEL__)
#include <linux/byteorder/little_endian.h>
#elif defined(__RISCVEB__)
#include <linux/byteorder/big_endian.h>
#else
#error "Unknown endianness"
#endif

#endif /* _ASM_RISCV_BYTEORDER_H */