Commit 280e1099 authored by Anshuman Khandual's avatar Anshuman Khandual Committed by Michael Ellerman

powerpc/kernel: Remove the unused extern dscr_default

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.
Signed-off-by: default avatarAnshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent c952c1c4
...@@ -1112,7 +1112,6 @@ static void setup_ksp_vsid(struct task_struct *p, unsigned long sp) ...@@ -1112,7 +1112,6 @@ static void setup_ksp_vsid(struct task_struct *p, unsigned long sp)
/* /*
* Copy a thread.. * Copy a thread..
*/ */
extern unsigned long dscr_default; /* defined in arch/powerpc/kernel/sysfs.c */
/* /*
* Copy architecture-specific thread state * Copy architecture-specific thread state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment