x86/mce: Add copy_mc_fragile_handle_tail() prototype
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 19:35:44 +0000 (21:35 +0200)
committerDave Hansen <dave.hansen@linux.intel.com>
Thu, 18 May 2023 18:56:18 +0000 (11:56 -0700)
commite9c2a283e7d9d4e207b5ab4aa1723d62ee2ecbee
treef4ded8438d3431447d493c1d56686e922eeb1347
parent29bf464cb8ee1b119d23aec88cbf17f9941610ad
x86/mce: Add copy_mc_fragile_handle_tail() prototype

copy_mc_fragile_handle_tail() is only called from assembler,
but 'make W=1' complains about a missing prototype:

arch/x86/lib/copy_mc.c:26:1: warning: no previous prototype for ‘copy_mc_fragile_handle_tail’ [-Wmissing-prototypes]
   26 | copy_mc_fragile_handle_tail(char *to, char *from, unsigned len)

Add the prototype to avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://lore.kernel.org/all/20230516193549.544673-16-arnd%40kernel.org
arch/x86/include/asm/mce.h