diff options
author | 2021-09-12 23:12:52 -0700 | |
---|---|---|
committer | 2021-12-21 21:22:19 +0100 | |
commit | 077b7320942b64b0da182aefd83c374462a65535 (patch) | |
tree | 6d5aef68d6b77d087a94306a35206c90806ecb63 /arch/um/os-Linux/start_up.c | |
parent | um: Replace if (cond) BUG() with BUG_ON() (diff) | |
download | linux-077b7320942b64b0da182aefd83c374462a65535.tar.gz linux-077b7320942b64b0da182aefd83c374462a65535.tar.bz2 linux-077b7320942b64b0da182aefd83c374462a65535.zip |
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>
Diffstat (limited to 'arch/um/os-Linux/start_up.c')
-rw-r--r-- | arch/um/os-Linux/start_up.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c index 8a72c99994eb..e3ee4db58b40 100644 --- a/arch/um/os-Linux/start_up.c +++ b/arch/um/os-Linux/start_up.c @@ -368,7 +368,7 @@ void __init os_early_checks(void) check_tmpexec(); pid = start_ptraced_child(); - if (init_registers(pid)) + if (init_pid_registers(pid)) fatal("Failed to initialize default registers"); stop_ptraced_child(pid, 1, 1); } |