summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2017-05-04 08:15:10 +0200
committerRichard Weinberger <richard@nod.at>2017-05-04 08:15:10 +0200
commitce4586063f1af780b1c6b7e344907e6f9c1ba59a (patch)
tree2e9f3428dca0967601ee1d30ff2a2691334b8ab7
parentum: Fix to call read_initrd after init_bootmem (diff)
downloadlinux-ce4586063f1af780b1c6b7e344907e6f9c1ba59a.tar.xz
linux-ce4586063f1af780b1c6b7e344907e6f9c1ba59a.zip
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>
-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)
{