summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2017-05-04 09:15:10 +0300
committerRichard Weinberger <richard@nod.at>2017-05-04 09:15:10 +0300
commitce4586063f1af780b1c6b7e344907e6f9c1ba59a (patch)
tree2e9f3428dca0967601ee1d30ff2a2691334b8ab7 /arch/um
parent5b4236e17cc1bd9fa14b2b0c7a4ae632d41f2e20 (diff)
downloadlinux-ce4586063f1af780b1c6b7e344907e6f9c1ba59a.tar.xz
um: Add missing NR_CPUS include
We need linux/threads.h for that variable. Fixes: 8bba077066d6d0 ("um: Set number of CPUs") Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/os-Linux/skas/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c
index 92f7ee14b10e..03b3c4cc7735 100644
--- a/arch/um/os-Linux/skas/process.c
+++ b/arch/um/os-Linux/skas/process.c
@@ -21,6 +21,7 @@
#include <registers.h>
#include <skas.h>
#include <sysdep/stub.h>
+#include <linux/threads.h>
int is_skas_winch(int pid, int fd, void *data)
{