ia64/xen-unstable

changeset 6126:01e223b2a350

Remove arch/xen/x86_64/kernel/init_task.c from sparse tree. It's
identical to the base file, and already marked as a c-link.

Signed-off-by: Chris Wright <chrisw@osdl.org>
author kaf24@firebug.cl.cam.ac.uk
date Thu Aug 11 21:09:06 2005 +0000 (2005-08-11)
parents edd2f9171644
children f972da9a2dda
files
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/init_task.c	Thu Aug 11 21:08:51 2005 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,49 +0,0 @@
     1.4 -#include <linux/mm.h>
     1.5 -#include <linux/module.h>
     1.6 -#include <linux/sched.h>
     1.7 -#include <linux/init.h>
     1.8 -#include <linux/init_task.h>
     1.9 -#include <linux/fs.h>
    1.10 -#include <linux/mqueue.h>
    1.11 -
    1.12 -#include <asm/uaccess.h>
    1.13 -#include <asm/pgtable.h>
    1.14 -#include <asm/desc.h>
    1.15 -
    1.16 -static struct fs_struct init_fs = INIT_FS;
    1.17 -static struct files_struct init_files = INIT_FILES;
    1.18 -static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
    1.19 -static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
    1.20 -struct mm_struct init_mm = INIT_MM(init_mm);
    1.21 -
    1.22 -EXPORT_SYMBOL(init_mm);
    1.23 -
    1.24 -/*
    1.25 - * Initial task structure.
    1.26 - *
    1.27 - * We need to make sure that this is 8192-byte aligned due to the
    1.28 - * way process stacks are handled. This is done by having a special
    1.29 - * "init_task" linker map entry..
    1.30 - */
    1.31 -union thread_union init_thread_union 
    1.32 -	__attribute__((__section__(".data.init_task"))) =
    1.33 -		{ INIT_THREAD_INFO(init_task) };
    1.34 -
    1.35 -/*
    1.36 - * Initial task structure.
    1.37 - *
    1.38 - * All other task structs will be allocated on slabs in fork.c
    1.39 - */
    1.40 -struct task_struct init_task = INIT_TASK(init_task);
    1.41 -
    1.42 -EXPORT_SYMBOL(init_task);
    1.43 -/*
    1.44 - * per-CPU TSS segments. Threads are completely 'soft' on Linux,
    1.45 - * no more per-task TSS's. The TSS size is kept cacheline-aligned
    1.46 - * so they are allowed to end up in the .data.cacheline_aligned
    1.47 - * section. Since TSS's are completely CPU-local, we want them
    1.48 - * on exact cacheline boundaries, to eliminate cacheline ping-pong.
    1.49 - */ 
    1.50 -DEFINE_PER_CPU(struct tss_struct, init_tss) ____cacheline_maxaligned_in_smp;
    1.51 -
    1.52 -#define ALIGN_TO_4K __attribute__((section(".data.init_task")))