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 09:54:18 +0000 (10:54 +0100)
commit756a7188b277f10b807e6e7321ccf8b929cc6e4a
treed1687cc94def73d44426c0bb2260e7365705e103
parentd817d10f7a002cd797ec460881a229768140451d
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