aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/entry-header.S
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-04-26 10:21:02 -0400
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-04-26 10:21:02 -0400
commitbce495d865829d7a1d8102a834d3e3af32616567 (patch)
tree7adb68ca1e724bace46271258b2500aa2869ddc9 /arch/arm/kernel/entry-header.S
parentf4dc9a4cf26278f5b608d6e4bd16e7b27ddcf1a5 (diff)
[PATCH] ARM: make entry*.S includes more logical
Move common includes to entry-header, and file specific includes to the relevant file. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/entry-header.S')
-rw-r--r--arch/arm/kernel/entry-header.S21
1 files changed, 9 insertions, 12 deletions
diff --git a/arch/arm/kernel/entry-header.S b/arch/arm/kernel/entry-header.S
index 956af0bff3ff..a3d40a0e2b04 100644
--- a/arch/arm/kernel/entry-header.S
+++ b/arch/arm/kernel/entry-header.S
@@ -1,20 +1,11 @@
1#include <linux/config.h> /* for CONFIG_ARCH_xxxx */ 1#include <linux/config.h>
2#include <linux/init.h>
2#include <linux/linkage.h> 3#include <linux/linkage.h>
3 4
4#include <asm/assembler.h> 5#include <asm/assembler.h>
5#include <asm/constants.h> 6#include <asm/constants.h>
6#include <asm/errno.h> 7#include <asm/errno.h>
7#include <asm/hardware.h> 8#include <asm/thread_info.h>
8#include <asm/arch/irqs.h>
9#include <asm/arch/entry-macro.S>
10
11 .macro zero_fp
12#ifdef CONFIG_FRAME_POINTER
13 mov fp, #0
14#endif
15 .endm
16
17 .text
18 9
19@ Bad Abort numbers 10@ Bad Abort numbers
20@ ----------------- 11@ -----------------
@@ -39,6 +30,12 @@
39#error "Please fix" 30#error "Please fix"
40#endif 31#endif
41 32
33 .macro zero_fp
34#ifdef CONFIG_FRAME_POINTER
35 mov fp, #0
36#endif
37 .endm
38
42#if __LINUX_ARM_ARCH__ >= 6 39#if __LINUX_ARM_ARCH__ >= 6
43 .macro disable_irq 40 .macro disable_irq
44 cpsid i 41 cpsid i