[ARM] nommu: trivial fixups for head-nommu.S and the Makefile
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>
This commit is contained in:
parent
6b426e785c
commit
3b920cef34
|
@ -29,7 +29,7 @@ ifneq ($(CONFIG_ARCH_EBSA110),y)
|
||||||
obj-y += io.o
|
obj-y += io.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
head-y := head.o
|
head-y := head$(MMUEXT).o
|
||||||
obj-$(CONFIG_DEBUG_LL) += debug.o
|
obj-$(CONFIG_DEBUG_LL) += debug.o
|
||||||
|
|
||||||
extra-y := $(head-y) init_task.o vmlinux.lds
|
extra-y := $(head-y) init_task.o vmlinux.lds
|
||||||
|
|
|
@ -20,10 +20,11 @@
|
||||||
#include <asm/mach-types.h>
|
#include <asm/mach-types.h>
|
||||||
#include <asm/procinfo.h>
|
#include <asm/procinfo.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/constants.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
|
|
||||||
#define PROCINFO_INITFUNC 12
|
#define PROCINFO_INITFUNC 12
|
||||||
|
#define MACHINFO_TYPE 0
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Kernel startup entry point.
|
* Kernel startup entry point.
|
||||||
|
@ -79,5 +80,6 @@ __after_proc_init:
|
||||||
|
|
||||||
mov pc, r13 @ clear the BSS and jump
|
mov pc, r13 @ clear the BSS and jump
|
||||||
@ to start_kernel
|
@ to start_kernel
|
||||||
|
.ltorg
|
||||||
|
|
||||||
#include "head-common.S"
|
#include "head-common.S"
|
||||||
|
|
Loading…
Reference in New Issue