Skip to content

Commit

Permalink
frv: 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/20120503085034.546687215@linutronix.de
  • Loading branch information
Thomas Gleixner committed May 5, 2012
1 parent c172ede commit cb0fcba
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 34 deletions.
1 change: 1 addition & 0 deletions arch/frv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ config FRV
select GENERIC_IRQ_SHOW
select ARCH_HAVE_NMI_SAFE_CMPXCHG
select GENERIC_CPU_DEVICES
select HAVE_GENERIC_INIT_TASK

config ZONE_DMA
bool
Expand Down
2 changes: 1 addition & 1 deletion arch/frv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ifdef CONFIG_DEBUG_INFO
KBUILD_AFLAGS += -Wa,--gdwarf2
endif

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

core-y += arch/frv/kernel/ arch/frv/mm/
libs-y += arch/frv/lib/
Expand Down
2 changes: 1 addition & 1 deletion arch/frv/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
heads-y := head-uc-fr401.o head-uc-fr451.o head-uc-fr555.o
heads-$(CONFIG_MMU) := head-mmu-fr451.o

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

obj-y := $(heads-y) entry.o entry-table.o break.o switch_to.o kernel_thread.o \
kernel_execve.o process.o traps.o ptrace.o signal.o dma.o \
Expand Down
32 changes: 0 additions & 32 deletions arch/frv/kernel/init_task.c

This file was deleted.

0 comments on commit cb0fcba

Please sign in to comment.