Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp823317imm; Thu, 5 Jul 2018 09:27:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcqgRrZgpjfeleeQboTIZP7qAzLRFnRbe+gja0G0qPNkZPf5uTYDPhPqN8sveO+Jttkj94x X-Received: by 2002:a17:902:9883:: with SMTP id s3-v6mr6872313plp.194.1530808067694; Thu, 05 Jul 2018 09:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530808067; cv=none; d=google.com; s=arc-20160816; b=K4HTkR1uBc4R8w4MeI0MeMO35S0HqAhYEACs6mcLcYrWMe/tUW8cWFqvYq3dxnxOob FssREFk+UbP/lNNfIXGjDXyCnBahDt5c6JELAWETnVyuSaQWOWwrKgDop6/xQAdBkE/r 5R6pvfsvIUY224P9P8LnVQ81CqWUzxdK61fjl5lCjzln/vTEgyzANSF4q7XQwwJXgYhF njz2iqhqADA5PtITDHIkQx9QG3CgAIfwzFW4wMQDeFUM65rJPfIIEBKXwp2OMTSpCr/+ 7wRJpkl5T+iq5gVUUwWYuydQdRh4lfzbXWtpBkpBPa90b4rUlnerD7bS0X2S2u+lIg2V mzyQ== 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:arc-authentication-results; bh=VBJj2rmJdggpBlVHKx8AhRyDN3b4nycCt9XTLcQLPus=; b=kGJ27xhG0vljN8LkeoVAaWDSLTz95XYd2KDVAFlKGT18o0O0puGx51/kBjEUZbnnjw EzgoYX6lzKZxr0R7lX+/7JWC2h47NVDELaJteLzqs8q8DE8n5oHxeVrhCD2X0RcXQP6U Y1IgGRiFSVS0/XwSW5wlI7EsaDYfOM/IxJpIuZz/X/D4TkJ6bqUgRUafm6ckXWGxMdv1 ZZLzLFOl1xjvht+OlKS0WeKNo7wsB4hmyONXGys7TqwlPlVmJApygJfdvGhCLFJ5b9U0 NyplFpPlL1dVySDFP2o4ghSx6mCWtKkrs4UKqo6ShxsAkHRbB7g2mVSqr6VkG9mvweJC oC1A== ARC-Authentication-Results: i=1; mx.google.com; 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 v203-v6si5644323pgb.333.2018.07.05.09.27.27; Thu, 05 Jul 2018 09:27:47 -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; 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 S1754377AbeGEQ00 (ORCPT + 99 others); Thu, 5 Jul 2018 12:26:26 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:52765 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753874AbeGEQZh (ORCPT ); Thu, 5 Jul 2018 12:25:37 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 41M39Z0V7vz9ttn0; Thu, 5 Jul 2018 18:25:06 +0200 (CEST) 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 BeMh79BpM50t; Thu, 5 Jul 2018 18:25:06 +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 41M39Z02xhz9ttm7; Thu, 5 Jul 2018 18:25:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D609E8B8BC; Thu, 5 Jul 2018 18:25:07 +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 DwK7YKCRua7g; Thu, 5 Jul 2018 18:25:07 +0200 (CEST) Received: from po14934vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.231.4]) by messagerie.si.c-s.fr (Postfix) with ESMTP id A9A378B8D3; Thu, 5 Jul 2018 18:25:07 +0200 (CEST) Received: by po14934vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 8B8BA711E2; Thu, 5 Jul 2018 16:25:07 +0000 (UTC) Message-Id: In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v3 09/16] powerpc/book3s: Remove PPC_PIN_SIZE To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 5 Jul 2018 16:25:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PPC_PIN_SIZE is specific to the 44x and is defined in mmu.h Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/32/pgtable.h | 5 ----- arch/powerpc/include/asm/nohash/32/pgtable.h | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/powerpc/include/asm/book3s/32/pgtable.h b/arch/powerpc/include/asm/book3s/32/pgtable.h index 3c3e34240628..751cf931bb3f 100644 --- a/arch/powerpc/include/asm/book3s/32/pgtable.h +++ b/arch/powerpc/include/asm/book3s/32/pgtable.h @@ -84,17 +84,12 @@ * of RAM. -- Cort */ #define VMALLOC_OFFSET (0x1000000) /* 16M */ -#ifdef PPC_PIN_SIZE -#define VMALLOC_START (((_ALIGN((long)high_memory, PPC_PIN_SIZE) + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))) -#else #define VMALLOC_START ((((long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))) -#endif #define VMALLOC_END ioremap_bot #ifndef __ASSEMBLY__ #include #include -#include /* For sub-arch specific PPC_PIN_SIZE */ extern unsigned long ioremap_bot; diff --git a/arch/powerpc/include/asm/nohash/32/pgtable.h b/arch/powerpc/include/asm/nohash/32/pgtable.h index 7df2f3a66cc5..79805e0dad27 100644 --- a/arch/powerpc/include/asm/nohash/32/pgtable.h +++ b/arch/powerpc/include/asm/nohash/32/pgtable.h @@ -8,7 +8,7 @@ #ifndef __ASSEMBLY__ #include #include -#include /* For sub-arch specific PPC_PIN_SIZE */ +#include /* For sub-arch specific PPC_PIN_SIZE */ #include extern unsigned long ioremap_bot; -- 2.13.3