um: registers: Rename function names to avoid conflicts and build problems
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 13 Sep 2021 06:12:52 +0000 (23:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 08:00:56 +0000 (09:00 +0100)
commit2dfbcb55aeb308af6048b4348a4c8443b2f61492
tree27d63d6713b8b3e724d9a82935760ec8811ccfc9
parent1b8b4167496cf77db15e55d54e32a42f0c983fc4
um: registers: Rename function names to avoid conflicts and build problems

[ Upstream commit 077b7320942b64b0da182aefd83c374462a65535 ]

The function names init_registers() and restore_registers() are used
in several net/ethernet/ and gpu/drm/ drivers for other purposes (not
calls to UML functions), so rename them.

This fixes multiple build errors.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: linux-um@lists.infradead.org
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/include/shared/registers.h
arch/um/os-Linux/registers.c
arch/um/os-Linux/start_up.c
arch/x86/um/syscalls_64.c