Skip to content

Commit

Permalink
openrisc: 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: Jonas Bonn <jonas@southpole.se>
Link: http://lkml.kernel.org/r/20120503085035.083343435@linutronix.de
  • Loading branch information
Thomas Gleixner committed May 5, 2012
1 parent fe285f5 commit cf5e6de
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 44 deletions.
1 change: 1 addition & 0 deletions arch/openrisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ config OPENRISC
select GENERIC_IOMAP
select GENERIC_CPU_DEVICES
select GENERIC_ATOMIC64
select HAVE_GENERIC_INIT_TASK

config MMU
def_bool y
Expand Down
2 changes: 1 addition & 1 deletion arch/openrisc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ else
KBUILD_CFLAGS += $(call cc-option,-msoft-div)
endif

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

core-y += arch/openrisc/lib/ \
arch/openrisc/kernel/ \
Expand Down
2 changes: 1 addition & 1 deletion arch/openrisc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#

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

obj-y := setup.o idle.o or32_ksyms.o process.o dma.o \
traps.o time.o irq.o entry.o ptrace.o signal.o sys_or32.o \
Expand Down
42 changes: 0 additions & 42 deletions arch/openrisc/kernel/init_task.c

This file was deleted.

0 comments on commit cf5e6de

Please sign in to comment.