Skip to content

Commit

Permalink
mn10300: Use generic init_task
Browse files Browse the repository at this point in the history
Same code. Use the generic version. The special Makefile treatment is
pointless anyway as init_task.o contains only data which is handled by
the linker script. So no point on being treated like head text.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Howells <dhowells@redhat.com>
Link: http://lkml.kernel.org/r/20120503085035.011270394@linutronix.de
  • Loading branch information
Thomas Gleixner committed May 5, 2012
1 parent 957b369 commit fe285f5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 41 deletions.
1 change: 1 addition & 0 deletions arch/mn10300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config MN10300
select HAVE_ARCH_TRACEHOOK
select HAVE_ARCH_KGDB
select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER
select HAVE_GENERIC_INIT_TASK

config AM33_2
def_bool n
Expand Down
2 changes: 1 addition & 1 deletion arch/mn10300/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ UNIT := asb2364
endif


head-y := arch/mn10300/kernel/head.o arch/mn10300/kernel/init_task.o
head-y := arch/mn10300/kernel/head.o

core-y += arch/mn10300/kernel/ arch/mn10300/mm/

Expand Down
2 changes: 1 addition & 1 deletion arch/mn10300/kernel/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Makefile for the MN10300-specific core kernel code
#
extra-y := head.o init_task.o vmlinux.lds
extra-y := head.o vmlinux.lds

fpu-obj-y := fpu-nofpu.o fpu-nofpu-low.o
fpu-obj-$(CONFIG_FPU) := fpu.o fpu-low.o
Expand Down
39 changes: 0 additions & 39 deletions arch/mn10300/kernel/init_task.c

This file was deleted.

0 comments on commit fe285f5

Please sign in to comment.