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

Commit cb827658 authored by Amit Pundir's avatar Amit Pundir
Browse files

arm64: move mixed endian EL0 declarations under __ASSEMBLY__ guards



Move "mixed endian EL0" declarations from AOSP commit d11d7e57,
"arm64: Track system support for mixed endian EL0", under
__ASSEMBLY__ guards otherwise we run into following build error:

----------
./arch/arm64/include/asm/cpufeature.h: Assembler messages:
./arch/arm64/include/asm/cpufeature.h:58: Error: unknown mnemonic `bool' -- `bool cpu_supports_mixed_endian_el0(void)'
./arch/arm64/include/asm/cpufeature.h:59: Error: unknown mnemonic `bool' -- `bool system_supports_mixed_endian_el0(void)'
make[1]: *** [arch/arm64/kernel/entry.o] Error 1
make: *** [arch/arm64/kernel] Error 2
----------

Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 6b5b4132
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,9 +54,9 @@ static inline void cpus_set_cap(unsigned int num)

void check_local_cpu_errata(void);

#endif /* __ASSEMBLY__ */

bool cpu_supports_mixed_endian_el0(void);
bool system_supports_mixed_endian_el0(void);

#endif /* __ASSEMBLY__ */

#endif