lkml.org 
[lkml]   [2015]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH V4 02/13] powerpc, process: Remove the unused extern dscr_default
    Date
    The process context switch code no longer uses dscr_default variable
    from the sysfs.c file. The variable became unused when we started
    storing the CPU specific DSCR value in the PACA structure instead.
    This patch just removes this extern declaration. It was originally
    added by the following commit.

    efcac658: powerpc: Per process DSCR + some fixes (try#4)

    Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
    ---
    arch/powerpc/kernel/process.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
    index febb50d..8005e18 100644
    --- a/arch/powerpc/kernel/process.c
    +++ b/arch/powerpc/kernel/process.c
    @@ -1112,7 +1112,6 @@ static void setup_ksp_vsid(struct task_struct *p, unsigned long sp)
    /*
    * Copy a thread..
    */
    -extern unsigned long dscr_default; /* defined in arch/powerpc/kernel/sysfs.c */

    /*
    * Copy architecture-specific thread state
    --
    1.9.3


    \
     
     \ /
      Last update: 2015-05-18 13:41    [W:4.793 / U:0.640 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site