summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/head-common.S
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2008-03-05 06:50:07 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-03-06 12:18:18 +0000
commit9c4c9f38796faf750de8586becf43b769c76b674 (patch)
treeb7325d205a5442e07f9029a8d240a203fbee1582 /arch/arm/kernel/head-common.S
parent37aca70c626ce8f4e5848de2d4892b5ed74a6875 (diff)
downloadlinux-9c4c9f38796faf750de8586becf43b769c76b674.tar.bz2
[ARM] 4849/1: move ATAGS asm definitions
Move the definitions of ATAG_CORE and ATAG_CORE_SIZE in head.S to head-common.S. There is no use of these in head.S itself, but they are used in head-common.S. When building for the !CONFIG_MMU case these were not defined when compiling head-nommu.S (which includes head-common.S). Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/head-common.S')
-rw-r--r--arch/arm/kernel/head-common.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/head-common.S b/arch/arm/kernel/head-common.S
index 024a9cf469b4..50f667febe29 100644
--- a/arch/arm/kernel/head-common.S
+++ b/arch/arm/kernel/head-common.S
@@ -11,6 +11,9 @@
*
*/
+#define ATAG_CORE 0x54410001
+#define ATAG_CORE_SIZE ((2*4 + 3*4) >> 2)
+
.type __switch_data, %object
__switch_data:
.long __mmap_switched