From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755145AbbEUGrC (ORCPT ); Thu, 21 May 2015 02:47:02 -0400 Received: from e28smtp03.in.ibm.com ([122.248.162.3]:39723 "EHLO e28smtp03.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752788AbbEUGpc (ORCPT ); Thu, 21 May 2015 02:45:32 -0400 From: Anshuman Khandual To: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: mikey@neuling.org, anton@samba.org, shuahkh@osg.samsung.com, mpe@ellerman.id.au Subject: [PATCH V5 02/13] powerpc, process: Remove the unused extern dscr_default Date: Thu, 21 May 2015 12:13:02 +0530 Message-Id: <1432190593-17253-3-git-send-email-khandual@linux.vnet.ibm.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1432190593-17253-1-git-send-email-khandual@linux.vnet.ibm.com> References: <1432190593-17253-1-git-send-email-khandual@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15052106-0009-0000-0000-00000595E02D Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.1.0