summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/cpu.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c
index 9eb484af18..c6fa8ef136 100644
--- a/arch/arm/cpu/armv7/cpu.c
+++ b/arch/arm/cpu/armv7/cpu.c
@@ -36,15 +36,9 @@
#include <asm/system.h>
#include <asm/cache.h>
#include <asm/armv7.h>
-#include <linux/compiler.h>
-void __naked save_boot_params_default(u32 r0, u32 r1, u32 r2, u32 r3)
+void save_boot_params_default(u32 r0, u32 r1, u32 r2, u32 r3)
{
- /*
- * Stack pointer is not yet initialized
- * Don't save anything to stack even if compiled with -O0
- */
- asm("bx lr");
}
void save_boot_params(u32 r0, u32 r1, u32 r2, u32 r3)