Skip to content

Commit

Permalink
s390: 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 <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
  • Loading branch information
KAGA-KOKO committed May 5, 2012
1 parent b0ce50a commit edd813b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 40 deletions.
1 change: 1 addition & 0 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ config S390
select ARCH_INLINE_WRITE_UNLOCK_IRQ
select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
select GENERIC_SMP_IDLE_THREAD
select HAVE_GENERIC_INIT_TASK

config SCHED_OMIT_FRAME_POINTER
def_bool y
Expand Down
1 change: 0 additions & 1 deletion arch/s390/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ OBJCOPYFLAGS := -O binary

head-y := arch/s390/kernel/head.o
head-y += arch/s390/kernel/$(if $(CONFIG_64BIT),head64.o,head31.o)
head-y += arch/s390/kernel/init_task.o

# See arch/s390/Kbuild for content of core part of the kernel
core-y += arch/s390/
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ obj-y := bitmap.o traps.o time.o process.o base.o early.o setup.o vtime.o \
obj-y += $(if $(CONFIG_64BIT),entry64.o,entry.o)
obj-y += $(if $(CONFIG_64BIT),reipl64.o,reipl.o)

extra-y += head.o init_task.o vmlinux.lds
extra-y += head.o vmlinux.lds
extra-y += $(if $(CONFIG_64BIT),head64.o,head31.o)

obj-$(CONFIG_MODULES) += s390_ksyms.o module.o
Expand Down
38 changes: 0 additions & 38 deletions arch/s390/kernel/init_task.c

This file was deleted.

0 comments on commit edd813b

Please sign in to comment.