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)
committerRichard Weinberger <richard@nod.at>
Tue, 21 Dec 2021 20:22:19 +0000 (21:22 +0100)
commit077b7320942b64b0da182aefd83c374462a65535
tree6d5aef68d6b77d087a94306a35206c90806ecb63
parent8bd18ef9eaac2e812b42da9eb19b2d59293aa25b
um: registers: Rename function names to avoid conflicts and build problems

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>
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