[tip: x86/cleanups] x86/platform/uv: Add a missing prototype for uv_bau_message_interrupt()

From: tip-bot2 for Benjamin Thiel
Date: Fri Mar 27 2020 - 10:54:43 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: 01bd18624d91cfe82e7df4bfe2f22814a20b993a
Gitweb: https://git.kernel.org/tip/01bd18624d91cfe82e7df4bfe2f22814a20b993a
Author: Benjamin Thiel <b.thiel@xxxxxxxxx>
AuthorDate: Fri, 27 Mar 2020 08:26:21 +01:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Fri, 27 Mar 2020 10:54:52 +01:00

x86/platform/uv: Add a missing prototype for uv_bau_message_interrupt()

... in order to fix a -Wmissing-prototypes warning:

arch/x86/platform/uv/tlb_uv.c:1275:6: warning:
no previous prototype for âuv_bau_message_interruptâ [-Wmissing-prototypes] \
void uv_bau_message_interrupt(struct pt_regs *regs)

Signed-off-by: Benjamin Thiel <b.thiel@xxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20200327072621.2255-1-b.thiel@xxxxxxxxx
---
arch/x86/include/asm/uv/uv_bau.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/x86/include/asm/uv/uv_bau.h b/arch/x86/include/asm/uv/uv_bau.h
index 7803114..13687bf 100644
--- a/arch/x86/include/asm/uv/uv_bau.h
+++ b/arch/x86/include/asm/uv/uv_bau.h
@@ -858,4 +858,6 @@ static inline int atomic_inc_unless_ge(spinlock_t *lock, atomic_t *v, int u)
return 1;
}

+void uv_bau_message_interrupt(struct pt_regs *regs);
+
#endif /* _ASM_X86_UV_UV_BAU_H */