]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] nommu: trivial fixups for head-nommu.S and the Makefile
authorHyok S. Choi <hyok.choi@samsung.com>
Mon, 24 Apr 2006 08:45:35 +0000 (09:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 Apr 2006 08:45:35 +0000 (09:45 +0100)
This patch fix compilation problem of start-up codes.
(head-nommu.S, arch/arm/kernel/Makefile)

Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/Makefile
arch/arm/kernel/head-nommu.S

index 2ce0e3a27a4545d9817eed1d602fee3adec34da7..a601b8b55f3594ba1a0989956c5db5ae9da389fa 100644 (file)
@@ -29,7 +29,7 @@ ifneq ($(CONFIG_ARCH_EBSA110),y)
   obj-y                += io.o
 endif
 
-head-y                 := head.o
+head-y                 := head$(MMUEXT).o
 obj-$(CONFIG_DEBUG_LL) += debug.o
 
 extra-y := $(head-y) init_task.o vmlinux.lds
index b093ab8738b510043e162d6ee44925f61a0880c5..0bea65864051a28b2babe2f4ac42b123f66566b8 100644 (file)
 #include <asm/mach-types.h>
 #include <asm/procinfo.h>
 #include <asm/ptrace.h>
-#include <asm/constants.h>
+#include <asm/thread_info.h>
 #include <asm/system.h>
 
 #define PROCINFO_INITFUNC       12
+#define MACHINFO_TYPE          0
 
 /*
  * Kernel startup entry point.
@@ -79,5 +80,6 @@ __after_proc_init:
 
        mov     pc, r13                         @ clear the BSS and jump
                                                @ to start_kernel
+       .ltorg
 
 #include "head-common.S"