Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f15d411a authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds
Browse files

m32r: introduce asm/swab.h

parent 231cc432
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
include include/asm-generic/Kbuild.asm
unifdef-y += swab.h
+1 −6
Original line number Diff line number Diff line
#ifndef _ASM_M32R_BYTEORDER_H
#define _ASM_M32R_BYTEORDER_H

#include <asm/types.h>

#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
#  define __BYTEORDER_HAS_U64__
#  define __SWAB_64_THRU_32__
#endif
#include <asm/swab.h>

#if defined(__LITTLE_ENDIAN__)
#  include <linux/byteorder/little_endian.h>
+10 −0
Original line number Diff line number Diff line
#ifndef _ASM_M32R_SWAB_H
#define _ASM_M32R_SWAB_H

#include <asm/types.h>

#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
#  define __SWAB_64_THRU_32__
#endif

#endif /* _ASM_M32R_SWAB_H */