Skip to content

Commit

Permalink
blackfin: 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: Mike Frysinger <vapier@gentoo.org>
Link: http://lkml.kernel.org/r/20120503085034.350246420@linutronix.de
  • Loading branch information
Thomas Gleixner committed May 5, 2012
1 parent 29b2501 commit 6e3e844
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 35 deletions.
1 change: 1 addition & 0 deletions arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ config BLACKFIN
select IRQ_PER_CPU if SMP
select HAVE_NMI_WATCHDOG if NMI_WATCHDOG
select GENERIC_SMP_IDLE_THREAD
select HAVE_GENERIC_INIT_TASK

config GENERIC_CSUM
def_bool y
Expand Down
2 changes: 0 additions & 2 deletions arch/blackfin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ KBUILD_AFLAGS += -mcpu=$(CPU_REV)
CHECKFLAGS_SILICON = $(shell echo "" | $(CPP) $(KBUILD_CFLAGS) -dD - 2>/dev/null | awk '$$2 == "__SILICON_REVISION__" { print $$3 }')
CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -D__bfin__

head-y := arch/$(ARCH)/kernel/init_task.o

core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/ arch/$(ARCH)/mach-common/

# If we have a machine-specific directory, then include it in the build.
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# arch/blackfin/kernel/Makefile
#

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

obj-y := \
entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \
Expand Down
32 changes: 0 additions & 32 deletions arch/blackfin/kernel/init_task.c

This file was deleted.

0 comments on commit 6e3e844

Please sign in to comment.