summaryrefslogtreecommitdiff
path: root/arch/x86/um/syscalls_64.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-09-21 00:32:50 +0300
committerRichard Weinberger <richard@nod.at>2021-12-21 23:31:35 +0300
commitdbba7f704aa0c38e36c9908012e7592c8f6efc43 (patch)
tree84b530e037fbb53a92c9ad59e0b239162c11c4e7 /arch/x86/um/syscalls_64.c
parent5f174ec3c1d62013f86db6597249174d8cb227b2 (diff)
downloadlinux-dbba7f704aa0c38e36c9908012e7592c8f6efc43.tar.xz
um: stop polluting the namespace with registers.h contents
Only one extern in there is needed in processor-generic.h, and it's not needed anywhere else. So move it over there and get rid of the include in processor-generic.h, adding includes of registers.h to the few files that need the declarations in it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/syscalls_64.c')
-rw-r--r--arch/x86/um/syscalls_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/um/syscalls_64.c b/arch/x86/um/syscalls_64.c
index e768f54b118c..fe5323f0c42d 100644
--- a/arch/x86/um/syscalls_64.c
+++ b/arch/x86/um/syscalls_64.c
@@ -10,6 +10,7 @@
#include <linux/syscalls.h>
#include <linux/uaccess.h>
#include <asm/prctl.h> /* XXX This should get the constants from libc */
+#include <registers.h>
#include <os.h>
#include <registers.h>