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

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

h8300: introduce asm/swab.h

parent ae189623
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 −7
Original line number Diff line number Diff line
#ifndef _H8300_BYTEORDER_H
#define _H8300_BYTEORDER_H

#include <asm/types.h>

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

#include <asm/swab.h>
#include <linux/byteorder/big_endian.h>

#endif /* _H8300_BYTEORDER_H */
+10 −0
Original line number Diff line number Diff line
#ifndef _H8300_SWAB_H
#define _H8300_SWAB_H

#include <asm/types.h>

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

#endif /* _H8300_SWAB_H */