diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-09-20 21:32:50 +0000 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-12-21 21:31:35 +0100 |
commit | dbba7f704aa0c38e36c9908012e7592c8f6efc43 (patch) | |
tree | 84b530e037fbb53a92c9ad59e0b239162c11c4e7 /arch/um/kernel | |
parent | logic_io instance of iounmap() needs volatile on argument (diff) | |
download | linux-dev-dbba7f704aa0c38e36c9908012e7592c8f6efc43.tar.xz linux-dev-dbba7f704aa0c38e36c9908012e7592c8f6efc43.zip |
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/um/kernel')
-rw-r--r-- | arch/um/kernel/exec.c | 1 | ||||
-rw-r--r-- | arch/um/kernel/process.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 4d8498100341..c85e40c72779 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c @@ -16,6 +16,7 @@ #include <linux/uaccess.h> #include <as-layout.h> #include <mem_user.h> +#include <registers.h> #include <skas.h> #include <os.h> diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c index 82107373ac7e..7055cd446155 100644 --- a/arch/um/kernel/process.c +++ b/arch/um/kernel/process.c @@ -31,6 +31,7 @@ #include <kern_util.h> #include <os.h> #include <skas.h> +#include <registers.h> #include <linux/time-internal.h> /* |