diff options
| -rw-r--r-- | arch/arm/kernel/Makefile | 2 | ||||
| -rw-r--r-- | arch/arm/kernel/head-nommu.S | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile index 2ce0e3a27a45..a601b8b55f35 100644 --- a/arch/arm/kernel/Makefile +++ b/arch/arm/kernel/Makefile | |||
| @@ -29,7 +29,7 @@ ifneq ($(CONFIG_ARCH_EBSA110),y) | |||
| 29 | obj-y += io.o | 29 | obj-y += io.o |
| 30 | endif | 30 | endif |
| 31 | 31 | ||
| 32 | head-y := head.o | 32 | head-y := head$(MMUEXT).o |
| 33 | obj-$(CONFIG_DEBUG_LL) += debug.o | 33 | obj-$(CONFIG_DEBUG_LL) += debug.o |
| 34 | 34 | ||
| 35 | extra-y := $(head-y) init_task.o vmlinux.lds | 35 | extra-y := $(head-y) init_task.o vmlinux.lds |
diff --git a/arch/arm/kernel/head-nommu.S b/arch/arm/kernel/head-nommu.S index b093ab8738b5..0bea65864051 100644 --- a/arch/arm/kernel/head-nommu.S +++ b/arch/arm/kernel/head-nommu.S | |||
| @@ -20,10 +20,11 @@ | |||
| 20 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
| 21 | #include <asm/procinfo.h> | 21 | #include <asm/procinfo.h> |
| 22 | #include <asm/ptrace.h> | 22 | #include <asm/ptrace.h> |
| 23 | #include <asm/constants.h> | 23 | #include <asm/thread_info.h> |
| 24 | #include <asm/system.h> | 24 | #include <asm/system.h> |
| 25 | 25 | ||
| 26 | #define PROCINFO_INITFUNC 12 | 26 | #define PROCINFO_INITFUNC 12 |
| 27 | #define MACHINFO_TYPE 0 | ||
| 27 | 28 | ||
| 28 | /* | 29 | /* |
| 29 | * Kernel startup entry point. | 30 | * Kernel startup entry point. |
| @@ -79,5 +80,6 @@ __after_proc_init: | |||
| 79 | 80 | ||
| 80 | mov pc, r13 @ clear the BSS and jump | 81 | mov pc, r13 @ clear the BSS and jump |
| 81 | @ to start_kernel | 82 | @ to start_kernel |
| 83 | .ltorg | ||
| 82 | 84 | ||
| 83 | #include "head-common.S" | 85 | #include "head-common.S" |
