From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834AbbERK4e (ORCPT ); Mon, 18 May 2015 06:56:34 -0400 Received: from e28smtp07.in.ibm.com ([122.248.162.7]:36605 "EHLO e28smtp07.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753207AbbERK4Z (ORCPT ); Mon, 18 May 2015 06:56:25 -0400 From: Anshuman Khandual To: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: mikey@neuling.org, shuahkh@osg.samsung.com, anton@samba.org, mpe@ellerman.id.au Subject: [PATCH V4 02/13] powerpc, process: Remove the unused extern dscr_default Date: Mon, 18 May 2015 16:26:05 +0530 Message-Id: <1431946576-1009-3-git-send-email-khandual@linux.vnet.ibm.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1431946576-1009-1-git-send-email-khandual@linux.vnet.ibm.com> References: <1431946576-1009-1-git-send-email-khandual@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15051810-0025-0000-0000-000004E1268C 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 -- 1.9.3