struct pgd_t is typedef'd to pgd_t so predeclaration isn't required in asm/tlbflush.h.
Signed-off-by: David Howells <dhowe...@redhat.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)) {