Browse Source

avoid non-standard predefined macros

pull/203/head
Andrew Waterman 10 years ago
parent
commit
805ee1d3bf
  1. 2
      linux-headers/include/asm/bitsperlong.h
  2. 6
      linux-headers/include/asm/byteorder.h
  3. 2
      riscv-gcc
  4. 2
      riscv-glibc
  5. 2
      riscv-newlib

2
linux-headers/include/asm/bitsperlong.h

@ -1,7 +1,7 @@
#ifndef _ASM_RISCV_BITSPERLONG_H
#define _ASM_RISCV_BITSPERLONG_H
#define __BITS_PER_LONG _RISCV_SZLONG
#define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8)
#include <asm-generic/bitsperlong.h>

6
linux-headers/include/asm/byteorder.h

@ -1,12 +1,6 @@
#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 */

2
riscv-gcc

@ -1 +1 @@
Subproject commit b530720adc590a853666f3bee2904d91e5e89cda
Subproject commit fa24d8d6230b4f5a2da492dd7b67f2d7bc189a44

2
riscv-glibc

@ -1 +1 @@
Subproject commit 682f132334cd73e94423965325a441b9cb2da93b
Subproject commit 17b7d7aa078e3ce6f03870ab7858443289fc7cea

2
riscv-newlib

@ -1 +1 @@
Subproject commit c0b8a21cac8e7548d6de9e3ecb1f429854e850c0
Subproject commit a0b6d28cfc4ade3d31684de2fab4db4e9621e344
Loading…
Cancel
Save