GNU toolchain for RISC-V, including GCC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
276 B

#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 */