Skip to content

Commit e336e05

Browse files
committed
hexagon: Use generic idle_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> Link: http://lkml.kernel.org/r/20120503085034.692078846@linutronix.de Acked-and-tested-by: Richard Kuo <rkuo@codeaurora.org>
1 parent a3b3aa3 commit e336e05

4 files changed

Lines changed: 3 additions & 57 deletions

File tree

‎arch/hexagon/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ config HEXAGON
2828
select NO_IOPORT
2929
select GENERIC_IOMAP
3030
select GENERIC_SMP_IDLE_THREAD
31+
select HAVE_GENERIC_INIT_TASK
3132
# mostly generic routines, with some accelerated ones
3233
---help---
3334
Qualcomm Hexagon is a processor architecture designed for high

‎arch/hexagon/Makefile‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ KBUILD_AFLAGS += -DTHREADINFO_REG=$(TIR_NAME)
4545
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
4646
libs-y += $(LIBGCC)
4747

48-
head-y := arch/hexagon/kernel/head.o \
49-
arch/hexagon/kernel/init_task.o
48+
head-y := arch/hexagon/kernel/head.o
5049

5150
core-y += arch/hexagon/kernel/ \
5251
arch/hexagon/mm/ \

‎arch/hexagon/kernel/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extra-y := head.o vmlinux.lds init_task.o
1+
extra-y := head.o vmlinux.lds
22

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

‎arch/hexagon/kernel/init_task.c‎

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

0 commit comments

Comments
 (0)