Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp506380yba; Wed, 3 Apr 2019 13:09:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwSWMVzmtpLzHtxVz3CDpRB8ZMjsox7GvpUgYfXgl5lrmEKECs5l1anFja56HGYKOGpeJgk X-Received: by 2002:a65:6289:: with SMTP id f9mr1648367pgv.380.1554322145065; Wed, 03 Apr 2019 13:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554322145; cv=none; d=google.com; s=arc-20160816; b=HKoN6+1YoJF9ZwSLFZAI3Qqt2s3Fmweu3D2lbODegqm8LTnm0cxrGAD08N4u4myZs5 ACtyCiwUk3jNV6RYU2lijwTXHIcqw1OvUMGlIGo6r6cbova32NIAaFmSnRWK6Ryj9dJi NAOS1eYAdKiECgCI9GoY7D1azx3FpkXHQOTjca5cjftLsF/9on9c8BTCcNdtFUXopG0d AUjaFWwOvvIgbwZaYqIp+U3yZ2KQoS0ha6FwmNVF0jXKjt29iUXO1FWLKAypmxE0YkCv U+56S/6N2zBCUHwzv9CuIxziA48j/V4ZH662oAy5gBgQYSiYs24V/gOlocC/XUxwIaSw ybqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id:dkim-signature; bh=C2Z1JuB327icEvR5qtvCdFCYWUJoN96aYqgB9CFVtK0=; b=xcqY7AEYNgJU9dqg5KnXOkoJ3VhG4R9JeDhmjktswoIsBQ8BsCG0RMKzIQvAlmQef+ opyEy7ZlRNzD+xR5ET6oE0XkbTmK2WM2vhB8mz1Rl5ygB4DE4lfFddzt/74rgXbbfino t5Mr1TIyGifj3xJCm/YUqaiXOF6izDJQa2WRSYJXu2BytO9vORtl1NH/nDZxU9hbs+50 066tFz9y8n6tM66cZvJWGfkSxXfGDGUYEezdJvrdKHC/7SMPEqp02q497pGcS92GtmrM auH2u8TnPQ5DdTNxjVQCj17yd9c4aWmDGxPNVNUxyk6CbKI0lb772VUCIQ0xsg7xcUjR cXrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=e3XUR79k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si14271438plm.25.2019.04.03.13.08.49; Wed, 03 Apr 2019 13:09:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=e3XUR79k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726515AbfDCUGP (ORCPT + 99 others); Wed, 3 Apr 2019 16:06:15 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:35242 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726442AbfDCUGO (ORCPT ); Wed, 3 Apr 2019 16:06:14 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44ZHC939Pcz9v9xs; Wed, 3 Apr 2019 22:06:13 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=e3XUR79k; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id njmphAoaq_Ch; Wed, 3 Apr 2019 22:06:13 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 44ZHC91Zyhz9v6Km; Wed, 3 Apr 2019 22:06:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1554321973; bh=C2Z1JuB327icEvR5qtvCdFCYWUJoN96aYqgB9CFVtK0=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=e3XUR79kq0iUYBCGJt32XYUUHF9izsjKDP1wcu/5hPO8yI13QzEHmXH1ZrpMRihVM NalGDorK9DLFXLzjs9R/ZtZuL00Kka6GMYGKF149IG7FoWAmdQj8ucCPDT1TDK2UF3 IrQKb+tILlYO+SFLKNxTAByNmPTtyOCt8Z+/bETE= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 550758B905; Wed, 3 Apr 2019 22:06:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id P67zKlWfYnUm; Wed, 3 Apr 2019 22:06:13 +0200 (CEST) Received: from po16846vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 2BB8F8B902; Wed, 3 Apr 2019 22:06:13 +0200 (CEST) Received: by po16846vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 1C08C655EC; Wed, 3 Apr 2019 20:06:13 +0000 (UTC) Message-Id: <0c8d706a693b0ca957be8ac1061a9b5ad10c03be.1554321743.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v1 01/15] powerpc/mm: drop __bad_pte() To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , aneesh.kumar@linux.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Wed, 3 Apr 2019 20:06:13 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This has never been called (since Kernel has been in git at least), drop it. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/32/pgalloc.h | 2 -- arch/powerpc/include/asm/nohash/32/pgalloc.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/powerpc/include/asm/book3s/32/pgalloc.h b/arch/powerpc/include/asm/book3s/32/pgalloc.h index 3633502e102c..645af86cd072 100644 --- a/arch/powerpc/include/asm/book3s/32/pgalloc.h +++ b/arch/powerpc/include/asm/book3s/32/pgalloc.h @@ -22,8 +22,6 @@ */ #define MAX_PGTABLE_INDEX_SIZE 0xf -extern void __bad_pte(pmd_t *pmd); - extern struct kmem_cache *pgtable_cache[]; #define PGT_CACHE(shift) pgtable_cache[shift] diff --git a/arch/powerpc/include/asm/nohash/32/pgalloc.h b/arch/powerpc/include/asm/nohash/32/pgalloc.h index bd186e85b4f7..ea265a578eb0 100644 --- a/arch/powerpc/include/asm/nohash/32/pgalloc.h +++ b/arch/powerpc/include/asm/nohash/32/pgalloc.h @@ -22,8 +22,6 @@ */ #define MAX_PGTABLE_INDEX_SIZE 0xf -extern void __bad_pte(pmd_t *pmd); - extern struct kmem_cache *pgtable_cache[]; #define PGT_CACHE(shift) pgtable_cache[shift] -- 2.13.3