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

Commit c194520a authored by Will Deacon's avatar Will Deacon Committed by Catalin Marinas
Browse files

arm64: big-endian: fix byteorder include



For big-endian processors, we must include
linux/byteorder/big_endian.h to get the relevant definitions for
swabbing between CPU order and a defined endianness.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent a0974e6e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@
#ifndef __ASM_BYTEORDER_H
#define __ASM_BYTEORDER_H

#ifdef __AARCH64EB__
#include <linux/byteorder/big_endian.h>
#else
#include <linux/byteorder/little_endian.h>
#endif

#endif	/* __ASM_BYTEORDER_H */