From patchwork Sun Jul 16 03:56:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ram Pai X-Patchwork-Id: 789035 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x9F215qNyz9s3w for ; Sun, 16 Jul 2017 15:13:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IMEEjp9B"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3x9F214D0mzDqpF for ; Sun, 16 Jul 2017 15:13:29 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IMEEjp9B"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3x9CNt17CHzDqmB for ; Sun, 16 Jul 2017 13:59:42 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IMEEjp9B"; dkim-atps=neutral Received: by mail-qt0-x244.google.com with SMTP id w12so14716873qta.2 for ; Sat, 15 Jul 2017 20:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=BRbrIO+I4xzlpo+12wRVIb2EYPfPOQnww5uDrS5mMoU=; b=IMEEjp9BtZqv5fVxwUFq9sWJpWIMBGKumL8XwWxsXVTsUvThQhGM6dvmhaSQGl9fgu bvtrkoS0DuIP3v9IWKKz8o4UT8itUFITx9qXp25bwqFy4OwHA+UBjj3fL5/MP7vNK9x1 0gqkTJPCUtZd3ZagWjWPltmYborEr7JMQJ14U7DFDSxI6bEYquZODZZMu+I+w+837Jnh PfBr6miXcbiP28b+iW+cIRBAeb4N1NB2i/aJRa5+QM3iGQRRuqimzJ4ngXhs4L5j/vrw aWX/vMvs/Q6jZ2WJLM3P2cHvs1D8vlNUnBgxCh5Fro/JNyQ4MYm8wd2oXlFbeby0VwdJ 3vdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=BRbrIO+I4xzlpo+12wRVIb2EYPfPOQnww5uDrS5mMoU=; b=cmpV9YPW0LaROy2M1KeacOII/FdF1pDYIPHuOPkzYW6MWFmQISxXr0NqTxSYpEWoP7 MA0SnQswQS4bxBk7Oi+RtwHkspUKECUYUIjbaik/DkDWSeRjnismR5DUPhcfDqm33rhx +133+KApJjwmjLenjh5J/p0HRV0+VlIlrJ1mr7rgOwBOqKirhvcmrgq0UpbkySgPq1xY zFiX/fKrFR9OwfpAxiTJGNe3Z38ZdOjlAMc0kTVDEkhVfk/MMrUMPz32OUSJoM9CFqYa v0s0xQbMkHZDaJR90u1VeQVp1WKkglTbCMi9kYGIlXEmcOH9YbycXwMuQ90WM8azd3Dm rFDQ== X-Gm-Message-State: AIVw113jiUe/mRtKuaY2YSn6T4wDT3M4vV1cyXsgCdXTmaKBp880sL1J 2lsuH0ekOTC+Mo8oqUo= X-Received: by 10.200.5.134 with SMTP id a6mr20292206qth.44.1500177580148; Sat, 15 Jul 2017 20:59:40 -0700 (PDT) Received: from localhost.localdomain (50-39-103-96.bvtn.or.frontiernet.net. [50.39.103.96]) by smtp.gmail.com with ESMTPSA id q46sm2290345qtc.54.2017.07.15.20.59.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Jul 2017 20:59:39 -0700 (PDT) From: Ram Pai To: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, x86@kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [RFC v6 40/62] x86: delete arch_show_smap() Date: Sat, 15 Jul 2017 20:56:42 -0700 Message-Id: <1500177424-13695-41-git-send-email-linuxram@us.ibm.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1500177424-13695-1-git-send-email-linuxram@us.ibm.com> References: <1500177424-13695-1-git-send-email-linuxram@us.ibm.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arnd@arndb.de, corbet@lwn.net, linuxram@us.ibm.com, mhocko@kernel.org, dave.hansen@intel.com, mingo@redhat.com, paulus@samba.org, aneesh.kumar@linux.vnet.ibm.com, akpm@linux-foundation.org, khandual@linux.vnet.ibm.com Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" arch_show_smap() function is not needed anymore. Delete it. Signed-off-by: Ram Pai --- arch/x86/kernel/setup.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index f818236..5efe4c3 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -1333,11 +1333,3 @@ static int __init register_kernel_offset_dumper(void) return 0; } __initcall(register_kernel_offset_dumper); - -void arch_show_smap(struct seq_file *m, struct vm_area_struct *vma) -{ - if (!boot_cpu_has(X86_FEATURE_OSPKE)) - return; - - seq_printf(m, "ProtectionKey: %8u\n", vma_pkey(vma)); -}