Skip to content

Commit 7433c5c

Browse files
committed
m32r: Use generic init_task
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
1 parent e336e05 commit 7433c5c

4 files changed

Lines changed: 3 additions & 36 deletions

File tree

‎arch/m32r/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ config M32R
1111
select GENERIC_IRQ_PROBE
1212
select GENERIC_IRQ_SHOW
1313
select GENERIC_ATOMIC64
14+
select HAVE_GENERIC_INIT_TASK
1415

1516
config SBUS
1617
bool

‎arch/m32r/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ KBUILD_AFLAGS += $(aflags-y)
3131

3232
CHECKFLAGS += -D__m32r__ -D__BIG_ENDIAN__=1
3333

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

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

‎arch/m32r/kernel/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Makefile for the Linux/M32R kernel.
33
#
44

5-
extra-y := head.o init_task.o vmlinux.lds
5+
extra-y := head.o vmlinux.lds
66

77
obj-y := process.o entry.o traps.o align.o irq.o setup.o time.o \
88
m32r_ksyms.o sys_m32r.o signal.o ptrace.o

‎arch/m32r/kernel/init_task.c‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)