Received: by 10.213.65.68 with SMTP id h4csp1742623imn; Sun, 1 Apr 2018 13:45:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx4926fX4eiIxzhlGvEnVADicH3kFEaRmTUqi+jYo6A+p5ZyJ6/lMmk29LQqyZuGWAHhk1Hiw X-Received: by 10.99.176.12 with SMTP id h12mr4610600pgf.448.1522615548293; Sun, 01 Apr 2018 13:45:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522615548; cv=none; d=google.com; s=arc-20160816; b=UheH4iCGAaqUCLlkzEcd7IpcAR5gHvsij4m0hgRaaypUDjLBpWvrcgcgHEtlzf8hkZ C1f1QCuMox4eUCGI6KDmNZDFyRwlXAKpzVJMPRGlN1+iwUZGrnvMwUjyvGAfgXy+66dX 4zLYNyk5+bq5peeKQ7tPMhxcvVPdTPxNBkOciFs/bz2Il2kKFCUMAmSH8wT03dUck/zH Ie9RE0VgZpqAi9Er0EDoDEpS5NScgANCduld83HnqYQp7N+YPAoBpZ7GuZ7XdkjhYM2k MJnbmFsTI4aym2d4qv3vouWcSjRryg0PpG3KHCR0vbbEsJbR/fBVRaefozO6costyJRQ b4og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:to:from:subject :organization:arc-authentication-results; bh=rla9aK4MH7KmXZFgopzjgx9JVtBDJV1jNnUGeNSha9w=; b=LHnFD1lLNSIUPAHIpbLJc/dZA9nB69DfYPsPpo65R4WA/sbOOxxRLFCq7qyJ1Mk91A phGpzG5ngMXXlUgEZwjDAfZd7jiYJ3PsdAAbFvsQPMCcE1qrsUYbJTZLB/r/q7zrDyWJ L6UukLkQmAs0f7+Wue3yhsDJlNQgxi39u9BYm+5lplrjPfkMyZOFVyuuGjEYnOSUTRH9 LivSzxfg4x/MNznwncihjvfb/EpEBMbwmtujzT62I/8u1rhpWBoyEZmiBg2Z5/ENHvBt 8L9k5yfcviifN96E95S6DUvwdDngTIqNdMRtNZIe1gUEOqHoJyd6qMAYKl4D7ZNrMRwN Sq+g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2-v6si8974711pli.427.2018.04.01.13.45.34; Sun, 01 Apr 2018 13:45:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754680AbeDAUog (ORCPT + 99 others); Sun, 1 Apr 2018 16:44:36 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:37420 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754489AbeDAUoe (ORCPT ); Sun, 1 Apr 2018 16:44:34 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6AE76818AAFC for ; Sun, 1 Apr 2018 20:44:34 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-59.rdu2.redhat.com [10.10.120.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1BBAC1102E20; Sun, 1 Apr 2018 20:44:34 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Subject: [PATCH 43/45] C++: Don't need to declare struct pgd_t after typedef From: David Howells To: linux-kernel@vger.kernel.org Date: Sun, 01 Apr 2018 21:44:33 +0100 Message-ID: <152261547359.30503.9479679859332991741.stgit@warthog.procyon.org.uk> In-Reply-To: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> References: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Sun, 01 Apr 2018 20:44:34 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Sun, 01 Apr 2018 20:44:34 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct pgd_t is typedef'd to pgd_t so predeclaration isn't required in asm/tlbflush.h. Signed-off-by: David Howells --- arch/x86/include/asm/tlbflush.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h index 84137c22fdfa..c0c13d4f6c41 100644 --- a/arch/x86/include/asm/tlbflush.h +++ b/arch/x86/include/asm/tlbflush.h @@ -117,7 +117,6 @@ static inline u16 user_pcid(u16 asid) return ret; } -struct pgd_t; static inline unsigned long build_cr3(pgd_t *pgd, u16 asid) { if (static_cpu_has(X86_FEATURE_PCID)) {