[PATCH 1/3] arm: ARM64 doen't provide the armlinux_ functions

Lucas Stach l.stach at pengutronix.de
Wed Feb 21 01:53:32 PST 2018


Those set parameters specific to the older ARM Linux implementation.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 arch/arm/include/asm/armlinux.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h
index 5c39200a0c33..135f11b860ce 100644
--- a/arch/arm/include/asm/armlinux.h
+++ b/arch/arm/include/asm/armlinux.h
@@ -5,7 +5,7 @@
 #include <asm/setup.h>
 #include <asm/secure.h>
 
-#if defined CONFIG_ARM_LINUX
+#if defined CONFIG_ARM_LINUX && defined CONFIG_CPU_32
 void armlinux_set_bootparams(void *params);
 void armlinux_set_architecture(int architecture);
 void armlinux_set_revision(unsigned int);
-- 
2.16.1




More information about the barebox mailing list