Skip to content

Commit

Permalink
tile: default to little endian on older toolchains
Browse files Browse the repository at this point in the history
Older toolchains may not specify __LITTLE_ENDIAN__, but older
toolchains were all little endian.  Don't make things unnecessarily
hard for those toolchains.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
  • Loading branch information
Chris Metcalf committed Jan 13, 2015
1 parent eaa27f3 commit e9118a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/tile/include/uapi/asm/byteorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

#if defined (__BIG_ENDIAN__)
#include <linux/byteorder/big_endian.h>
#elif defined (__LITTLE_ENDIAN__)
#include <linux/byteorder/little_endian.h>
#else
#error "__BIG_ENDIAN__ or __LITTLE_ENDIAN__ must be defined."
#include <linux/byteorder/little_endian.h>
#endif

0 comments on commit e9118a4

Please sign in to comment.