Skip to content

Commit

Permalink
hexagon: Use generic idle_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>
Link: http://lkml.kernel.org/r/20120503085034.692078846@linutronix.de
Acked-and-tested-by: Richard Kuo <rkuo@codeaurora.org>
  • Loading branch information
Thomas Gleixner committed May 5, 2012
1 parent a3b3aa3 commit e336e05
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 57 deletions.
1 change: 1 addition & 0 deletions arch/hexagon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ config HEXAGON
select NO_IOPORT
select GENERIC_IOMAP
select GENERIC_SMP_IDLE_THREAD
select HAVE_GENERIC_INIT_TASK
# mostly generic routines, with some accelerated ones
---help---
Qualcomm Hexagon is a processor architecture designed for high
Expand Down
3 changes: 1 addition & 2 deletions arch/hexagon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ KBUILD_AFLAGS += -DTHREADINFO_REG=$(TIR_NAME)
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
libs-y += $(LIBGCC)

head-y := arch/hexagon/kernel/head.o \
arch/hexagon/kernel/init_task.o
head-y := arch/hexagon/kernel/head.o

core-y += arch/hexagon/kernel/ \
arch/hexagon/mm/ \
Expand Down
2 changes: 1 addition & 1 deletion arch/hexagon/kernel/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extra-y := head.o vmlinux.lds init_task.o
extra-y := head.o vmlinux.lds

obj-$(CONFIG_SMP) += smp.o topology.o

Expand Down
54 changes: 0 additions & 54 deletions arch/hexagon/kernel/init_task.c

This file was deleted.

0 comments on commit e336e05

Please sign in to comment.