lkml.org 
[lkml]   [2012]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 06/29] cx6: Use generic init_task
    Same code. Use the generic version.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: Mark Salter <msalter@redhat.com>
    ---
    arch/c6x/Kconfig | 1 +
    arch/c6x/kernel/process.c | 16 ----------------
    2 files changed, 1 insertion(+), 16 deletions(-)

    Index: tip/arch/c6x/Kconfig
    ===================================================================
    --- tip.orig/arch/c6x/Kconfig
    +++ tip/arch/c6x/Kconfig
    @@ -15,6 +15,7 @@ config TMS320C6X
    select IRQ_DOMAIN
    select OF
    select OF_EARLY_FLATTREE
    + select HAVE_GENERIC_INIT_TASK

    config MMU
    def_bool n
    Index: tip/arch/c6x/kernel/process.c
    ===================================================================
    --- tip.orig/arch/c6x/kernel/process.c
    +++ tip/arch/c6x/kernel/process.c
    @@ -26,22 +26,6 @@ void (*c6x_halt)(void);

    extern asmlinkage void ret_from_fork(void);

    -static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
    -static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
    -
    -/*
    - * Initial thread structure.
    - */
    -union thread_union init_thread_union __init_task_data = {
    - INIT_THREAD_INFO(init_task)
    -};
    -
    -/*
    - * Initial task structure.
    - */
    -struct task_struct init_task = INIT_TASK(init_task);
    -EXPORT_SYMBOL(init_task);
    -
    /*
    * power off function, if any
    */



    \
     
     \ /
      Last update: 2012-04-30 22:21    [W:4.020 / U:0.240 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site