Cc: gerg@xxxxxxxxxxx Signed-off-by: Kyle McMartin <kyle@xxxxxxxxxx> --- arch/m68knommu/Kconfig | 1 - arch/m68knommu/kernel/Makefile | 2 +- arch/m68knommu/kernel/init_task.c | 42 ------------------------------------- 3 files changed, 1 insertions(+), 44 deletions(-) delete mode 100644 arch/m68knommu/kernel/init_task.c diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index 4019e0b..76b66fe 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig @@ -9,7 +9,6 @@ config M68K bool default y select HAVE_IDE - select HAVE_ARCH_INIT_TASK config MMU bool diff --git a/arch/m68knommu/kernel/Makefile b/arch/m68knommu/kernel/Makefile index f0eab3d..02a2c83 100644 --- a/arch/m68knommu/kernel/Makefile +++ b/arch/m68knommu/kernel/Makefile @@ -4,7 +4,7 @@ extra-y := vmlinux.lds -obj-y += dma.o entry.o init_task.o irq.o m68k_ksyms.o process.o ptrace.o \ +obj-y += dma.o entry.o irq.o m68k_ksyms.o process.o ptrace.o \ setup.o signal.o syscalltable.o sys_m68k.o time.o traps.o obj-$(CONFIG_MODULES) += module.o diff --git a/arch/m68knommu/kernel/init_task.c b/arch/m68knommu/kernel/init_task.c deleted file mode 100644 index 344c01a..0000000 --- a/arch/m68knommu/kernel/init_task.c +++ /dev/null @@ -1,42 +0,0 @@ -/* - * linux/arch/m68knommu/kernel/init_task.c - */ -#include <linux/mm.h> -#include <linux/module.h> -#include <linux/sched.h> -#include <linux/init.h> -#include <linux/init_task.h> -#include <linux/fs.h> -#include <linux/mqueue.h> - -#include <asm/uaccess.h> -#include <asm/pgtable.h> - -static struct fs_struct init_fs = INIT_FS; -static struct signal_struct init_signals = INIT_SIGNALS(init_signals); -static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); -struct mm_struct init_mm = INIT_MM(init_mm); - -EXPORT_SYMBOL(init_mm); - -/* - * Initial task structure. - * - * All other task structs will be allocated on slabs in fork.c - */ -__asm__(".align 4"); -struct task_struct init_task = INIT_TASK(init_task); - -EXPORT_SYMBOL(init_task); - -/* - * Initial thread structure. - * - * We need to make sure that this is 8192-byte aligned due to the - * way process stacks are handled. This is done by having a special - * "init_task" linker map entry.. - */ -union thread_union init_thread_union - __attribute__((__section__(".data.init_task"))) = - { INIT_THREAD_INFO(init_task) }; - -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html