Skip to content

Commit cb0fcba

Browse files
committed
frv: 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> Acked-by: David Howells <dhowells@redhat.com> Link: http://lkml.kernel.org/r/20120503085034.546687215@linutronix.de
1 parent c172ede commit cb0fcba

4 files changed

Lines changed: 3 additions & 34 deletions

File tree

‎arch/frv/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ config FRV
99
select GENERIC_IRQ_SHOW
1010
select ARCH_HAVE_NMI_SAFE_CMPXCHG
1111
select GENERIC_CPU_DEVICES
12+
select HAVE_GENERIC_INIT_TASK
1213

1314
config ZONE_DMA
1415
bool

‎arch/frv/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ ifdef CONFIG_DEBUG_INFO
8181
KBUILD_AFLAGS += -Wa,--gdwarf2
8282
endif
8383

84-
head-y := arch/frv/kernel/head.o arch/frv/kernel/init_task.o
84+
head-y := arch/frv/kernel/head.o
8585

8686
core-y += arch/frv/kernel/ arch/frv/mm/
8787
libs-y += arch/frv/lib/

‎arch/frv/kernel/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
heads-y := head-uc-fr401.o head-uc-fr451.o head-uc-fr555.o
66
heads-$(CONFIG_MMU) := head-mmu-fr451.o
77

8-
extra-y:= head.o init_task.o vmlinux.lds
8+
extra-y:= head.o vmlinux.lds
99

1010
obj-y := $(heads-y) entry.o entry-table.o break.o switch_to.o kernel_thread.o \
1111
kernel_execve.o process.o traps.o ptrace.o signal.o dma.o \

‎arch/frv/kernel/init_task.c‎

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

0 commit comments

Comments
 (0)