Skip to content

Commit

Permalink
sparc: Use generic init_task
Browse files Browse the repository at this point in the history
Same code. Use the generic version.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: "David S. Miller" <davem@davemloft.net>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: http://lkml.kernel.org/r/20120503085035.463573011@linutronix.de
  • Loading branch information
Thomas Gleixner committed May 5, 2012
1 parent 41fe22f commit 3f149aa
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 24 deletions.
1 change: 1 addition & 0 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ config SPARC
select GENERIC_PCI_IOMAP
select HAVE_NMI_WATCHDOG if SPARC64
select GENERIC_SMP_IDLE_THREAD
select HAVE_GENERIC_INIT_TASK

config SPARC32
def_bool !64BIT
Expand Down
1 change: 0 additions & 1 deletion arch/sparc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ endif
endif

head-y := arch/sparc/kernel/head_$(BITS).o
head-y += arch/sparc/kernel/init_task.o

core-y += arch/sparc/kernel/
core-y += arch/sparc/mm/ arch/sparc/math-emu/
Expand Down
1 change: 0 additions & 1 deletion arch/sparc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ asflags-y := -ansi
ccflags-y := -Werror

extra-y := head_$(BITS).o
extra-y += init_task.o

# Undefine sparc when processing vmlinux.lds - it is used
# And teach CPP we are doing $(BITS) builds (for this case)
Expand Down
22 changes: 0 additions & 22 deletions arch/sparc/kernel/init_task.c

This file was deleted.

0 comments on commit 3f149aa

Please sign in to comment.