[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <152261547359.30503.9479679859332991741.stgit@warthog.procyon.org.uk>
Date: Sun, 01 Apr 2018 21:44:33 +0100
From: David Howells <dhowells@...hat.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH 43/45] C++: Don't need to declare struct pgd_t after typedef
struct pgd_t is typedef'd to pgd_t so predeclaration isn't required in
asm/tlbflush.h.
Signed-off-by: David Howells <dhowells@...hat.com>
---
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)) {
Powered by blists - more mailing lists