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 10:04:48 +0000 (11:04 +0100)
commit617a9e6da974aac26523f9ebb5a00f6672cbd60d
tree4cff3abe21b1dfd53a22fc74d31bcd729753cc01
parentf75868e020a1d03f87d49e9cd2cc349a45249f29
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