From 85a30a84862d5ee1ac5c2b037f5ee3648e726333 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 26 Apr 2005 15:21:02 +0100 Subject: [PATCH] --- yaml --- r: 486 b: refs/heads/master c: bce495d865829d7a1d8102a834d3e3af32616567 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/kernel/Makefile | 5 ----- trunk/arch/arm/kernel/entry-armv.S | 6 +++--- trunk/arch/arm/kernel/entry-common.S | 2 -- trunk/arch/arm/kernel/entry-header.S | 21 +++++++++------------ 5 files changed, 13 insertions(+), 23 deletions(-) diff --git a/[refs] b/[refs] index 0252b044905e..cb8de1d23466 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f4dc9a4cf26278f5b608d6e4bd16e7b27ddcf1a5 +refs/heads/master: bce495d865829d7a1d8102a834d3e3af32616567 diff --git a/trunk/arch/arm/kernel/Makefile b/trunk/arch/arm/kernel/Makefile index 07a56ff61494..4a2af55e134b 100644 --- a/trunk/arch/arm/kernel/Makefile +++ b/trunk/arch/arm/kernel/Makefile @@ -31,8 +31,3 @@ head-y := head.o obj-$(CONFIG_DEBUG_LL) += debug.o extra-y := $(head-y) init_task.o vmlinux.lds - -# Spell out some dependencies that aren't automatically figured out -$(obj)/entry-armv.o: $(obj)/entry-header.S include/asm-arm/constants.h -$(obj)/entry-common.o: $(obj)/entry-header.S include/asm-arm/constants.h \ - $(obj)/calls.S diff --git a/trunk/arch/arm/kernel/entry-armv.S b/trunk/arch/arm/kernel/entry-armv.S index 414705671865..2a5c3fe09a95 100644 --- a/trunk/arch/arm/kernel/entry-armv.S +++ b/trunk/arch/arm/kernel/entry-armv.S @@ -14,12 +14,12 @@ * it to save wrong values... Be aware! */ #include -#include -#include #include -#include #include +#include @ should be moved into entry-macro.S +#include @ should be moved into entry-macro.S +#include #include "entry-header.S" diff --git a/trunk/arch/arm/kernel/entry-common.S b/trunk/arch/arm/kernel/entry-common.S index 07da010b67d4..3f8d0e3aefab 100644 --- a/trunk/arch/arm/kernel/entry-common.S +++ b/trunk/arch/arm/kernel/entry-common.S @@ -9,8 +9,6 @@ */ #include -#include -#include #include #include "entry-header.S" diff --git a/trunk/arch/arm/kernel/entry-header.S b/trunk/arch/arm/kernel/entry-header.S index 956af0bff3ff..a3d40a0e2b04 100644 --- a/trunk/arch/arm/kernel/entry-header.S +++ b/trunk/arch/arm/kernel/entry-header.S @@ -1,20 +1,11 @@ -#include /* for CONFIG_ARCH_xxxx */ +#include +#include #include #include #include #include -#include -#include -#include - - .macro zero_fp -#ifdef CONFIG_FRAME_POINTER - mov fp, #0 -#endif - .endm - - .text +#include @ Bad Abort numbers @ ----------------- @@ -39,6 +30,12 @@ #error "Please fix" #endif + .macro zero_fp +#ifdef CONFIG_FRAME_POINTER + mov fp, #0 +#endif + .endm + #if __LINUX_ARM_ARCH__ >= 6 .macro disable_irq cpsid i