Skip to content

Commit

Permalink
m32r: 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>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Link: http://lkml.kernel.org/r/20120503085034.756332161@linutronix.de
  • Loading branch information
Thomas Gleixner committed May 5, 2012
1 parent e336e05 commit 7433c5c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 36 deletions.
1 change: 1 addition & 0 deletions arch/m32r/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config M32R
select GENERIC_IRQ_PROBE
select GENERIC_IRQ_SHOW
select GENERIC_ATOMIC64
select HAVE_GENERIC_INIT_TASK

config SBUS
bool
Expand Down
2 changes: 1 addition & 1 deletion arch/m32r/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ KBUILD_AFLAGS += $(aflags-y)

CHECKFLAGS += -D__m32r__ -D__BIG_ENDIAN__=1

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

LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)

Expand Down
2 changes: 1 addition & 1 deletion arch/m32r/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile for the Linux/M32R kernel.
#

extra-y := head.o init_task.o vmlinux.lds
extra-y := head.o vmlinux.lds

obj-y := process.o entry.o traps.o align.o irq.o setup.o time.o \
m32r_ksyms.o sys_m32r.o signal.o ptrace.o
Expand Down
34 changes: 0 additions & 34 deletions arch/m32r/kernel/init_task.c

This file was deleted.

0 comments on commit 7433c5c

Please sign in to comment.