--- zzzz-none-000/linux-4.1.38/arch/arm/kernel/head.S 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/arch/arm/kernel/head.S 2020-11-25 10:06:48.000000000 +0000 @@ -78,6 +78,11 @@ __HEAD ENTRY(stext) + b real_entry + .long __atags + .long __avm_kernel_config_start + +real_entry: ARM_BE8(setend be ) @ ensure we are in BE8 mode THUMB( adr r9, BSYM(1f) ) @ Kernel is always entered in ARM. @@ -274,6 +279,7 @@ @ for 64-bit descriptors #endif + #ifdef CONFIG_DEBUG_LL #if !defined(CONFIG_DEBUG_ICEDCC) && !defined(CONFIG_DEBUG_SEMIHOSTING) /* @@ -709,4 +715,9 @@ .size __pv_offset, . -__pv_offset #endif + .data + .globl __atags +__atags: + .space 0x4000 + #include "head-common.S"