Commit f15d411ad9986185303b556e0f5e7acafc4ef223
Committed by
Linus Torvalds
1 parent
231cc432f4
m32r: introduce asm/swab.h
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 3 changed files with 12 additions and 6 deletions Side-by-side Diff
include/asm-m32r/Kbuild
include/asm-m32r/byteorder.h
1 | 1 | #ifndef _ASM_M32R_BYTEORDER_H |
2 | 2 | #define _ASM_M32R_BYTEORDER_H |
3 | 3 | |
4 | -#include <asm/types.h> | |
5 | - | |
6 | -#if !defined(__STRICT_ANSI__) || defined(__KERNEL__) | |
7 | -# define __BYTEORDER_HAS_U64__ | |
8 | -# define __SWAB_64_THRU_32__ | |
9 | -#endif | |
4 | +#include <asm/swab.h> | |
10 | 5 | |
11 | 6 | #if defined(__LITTLE_ENDIAN__) |
12 | 7 | # include <linux/byteorder/little_endian.h> |