]> www.infradead.org Git - users/dwmw2/linux.git/commit
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:04:26 +0000 (09:04 +0100)
commit31cad41d49b235a0adf3e26fcb8fad8ebfe3fedb
treeb32fd79609b9aaaea4c475a1aac17d1536fddccf
parent905dea58522773282fcb1510448b32ff48b23e01
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