From patchwork Fri Jul 13 16:23:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Leroy X-Patchwork-Id: 10523789 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B1E54601C2 for ; Fri, 13 Jul 2018 16:23:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A36F6286F5 for ; Fri, 13 Jul 2018 16:23:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A192229B91; Fri, 13 Jul 2018 16:23:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5446329D49 for ; Fri, 13 Jul 2018 16:23:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3E54F6B000E; Fri, 13 Jul 2018 12:23:36 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 3416B6B0010; Fri, 13 Jul 2018 12:23:36 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 20CB36B0266; Fri, 13 Jul 2018 12:23:36 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wm0-f70.google.com (mail-wm0-f70.google.com [74.125.82.70]) by kanga.kvack.org (Postfix) with ESMTP id BA0DA6B000E for ; Fri, 13 Jul 2018 12:23:35 -0400 (EDT) Received: by mail-wm0-f70.google.com with SMTP id l4-v6so6363055wmc.7 for ; Fri, 13 Jul 2018 09:23:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:message-id :in-reply-to:references:from:subject:to:cc:date; bh=jrMo+BSZV0JVmROZ6Hb69MIAznfOfHMTIJE4e9g6CsI=; b=jx563uaU97l5KkYLFUq8huVfZTO9HKLoRrF/ilqAsAnCixOsoEvWCYLLCxLUNAX/ag 9g34cEKt03CK2O7rgyLwnkaAm4Wvcar9cFoSnSoabEUw4A5y9bex7UftAm3MdL/EnNyM JZYkCV4+lsS3xI5/Xlia3hcVvDq3Uf/kFEYlJflm84gpE7Ih3+5ksGcK3wNkJPfPHgR2 cQzEu1NZLnJmB4kd6NMc2vBzF5PLMaqQfSjH6I4CGrQCcvPJh4CRzsyFsxSTlsnYkZIs krRuJy+tc7BsQcEzXomb5YEkd3/RIynYS+fVq1m4DYeY1qJJotm99FTcp/jNWCC0itQ+ 3DDw== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of christophe.leroy@c-s.fr designates 93.17.236.30 as permitted sender) smtp.mailfrom=christophe.leroy@c-s.fr X-Gm-Message-State: AOUpUlHuE9zGKn/5B5uoCnwUowofq+N7ilqXigNex2vQ6r15rGPAC5EJ SEi40KR3btFGqhDuPxbAPJ8FyCqGUailoh9G0i09xM09y1c58uxCuIL6tidMPTd+MXhfoYJtYkZ hsN5RoIP2St8Ph3qjzaP7Vcg6qcMYIAMrPvJH3H+kUG4/7/DCkv7OqWtlbQ/b/qcrLw== X-Received: by 2002:a1c:ad4:: with SMTP id 203-v6mr4064868wmk.98.1531499015270; Fri, 13 Jul 2018 09:23:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeDj8iL8yt7oCoudVk++tHD7gFmIpLOiR1zs5c79NyVOmsFGU4HbwGH4v1R+SQ/oe7bETLx X-Received: by 2002:a1c:ad4:: with SMTP id 203-v6mr4064851wmk.98.1531499014602; Fri, 13 Jul 2018 09:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531499014; cv=none; d=google.com; s=arc-20160816; b=WA+7Ne9fuG3WnYFxsVFPC05C9yHa0a6W7532NbJ1WJ8/1W/Sd8yrHA31s+hTjjVc77 sO8/Nc+ae4TS+/hNbF3ey6onh5Mhc+mxlU+M71P02QiWlIYd8DbWXAwFIoycVuiDngDH pABKheoQQUTF0ZbUwFg//ny87ETqz5mSNSb2V87Ysz8vAh7pJyA1e8ecXF5SwfYFCBs4 5Pvm/G7fCdOpIghZqkt0gCE48LTnK0ejQeccBH5SZs3AhiHsSTNF+rzkZP2u+NUHj3yo yoxp81LfnLXmkfQarqWuklYgVzOM/bB0KEl+cB3595VONGDhntATPlWUnELAedRcBdJ+ 9hIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:cc:to:subject:from:references:in-reply-to:message-id :arc-authentication-results; bh=jrMo+BSZV0JVmROZ6Hb69MIAznfOfHMTIJE4e9g6CsI=; b=LZPd6ckP7IGm24dxi6aex+OJNEJKP43UJdNr3sjaZnotlNqcpI2VIN2CTGt5C1zQ1h T3wM3OpSSdk53wt88sNFBeQszXvc605Gla0z4znzHVQ8iNWFmzo4rh6wXUsarxnNLzFU mw/S4hEuidIiPqdzu6a4cSszuqNWCMAqNLdCnHMg+CLPBhFTQ9wmuaIGvHtgadN18TZz y+PmaLRxa89DL8h4NgbpO2ONX9EHcEnbxg06kUu4+IAqfKN77o2GYkp5YJtjpVBFuA80 /89kDFEDLZgfCIslaovFCBtUWQOZtWLxklC0kGyiV6/WQ1m//Pr/EQCsQqeY1VHUl5jg 2W/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of christophe.leroy@c-s.fr designates 93.17.236.30 as permitted sender) smtp.mailfrom=christophe.leroy@c-s.fr Received: from pegase1.c-s.fr (pegase1.c-s.fr. [93.17.236.30]) by mx.google.com with ESMTPS id l8-v6si21038364wrv.161.2018.07.13.09.23.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 09:23:34 -0700 (PDT) Received-SPF: pass (google.com: domain of christophe.leroy@c-s.fr designates 93.17.236.30 as permitted sender) client-ip=93.17.236.30; Authentication-Results: mx.google.com; spf=pass (google.com: domain of christophe.leroy@c-s.fr designates 93.17.236.30 as permitted sender) smtp.mailfrom=christophe.leroy@c-s.fr Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 41Ryln621jz9ttkm; Fri, 13 Jul 2018 18:23:17 +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 xKIEhPCe_727; Fri, 13 Jul 2018 18:23:17 +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 41Ryln5SjBz9ttCT; Fri, 13 Jul 2018 18:23:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 076F18B8A8; Fri, 13 Jul 2018 18:23:34 +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 9GeK_4qY1090; Fri, 13 Jul 2018 18:23:33 +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 DFF488B75A; Fri, 13 Jul 2018 18:23:33 +0200 (CEST) Received: by po14934vm.idsi0.si.c-s.fr (Postfix, from userid 0) id D4BD7711EC; Fri, 13 Jul 2018 16:23:33 +0000 (UTC) Message-Id: <237810f0c0051e54eef94777ac5381cc99538a99.1531498345.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [RFC PATCH v1 2/4] powerpc: add missing header in pgtable-types.h To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , npiggin@gmail.com, aneesh.kumar@linux.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org Date: Fri, 13 Jul 2018 16:23:33 +0000 (UTC) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP pte_basic_t is defined in page.h Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/pgtable-types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/include/asm/pgtable-types.h b/arch/powerpc/include/asm/pgtable-types.h index eccb30b38b47..3d8f68aebea3 100644 --- a/arch/powerpc/include/asm/pgtable-types.h +++ b/arch/powerpc/include/asm/pgtable-types.h @@ -2,6 +2,8 @@ #ifndef _ASM_POWERPC_PGTABLE_TYPES_H #define _ASM_POWERPC_PGTABLE_TYPES_H +#include + /* PTE level */ typedef struct { pte_basic_t pte; } pte_t; #define __pte(x) ((pte_t) { (x) })