[PATCH] x86/platform/uv: Add a missing prototype for uv_bau_message_interrupt()
From: Benjamin Thiel
Date: Fri Mar 27 2020 - 03:26:32 EST
... 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>
---
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 7803114aa140..13687bf0e0a9 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 */
--
2.17.1