um: Add missing NR_CPUS include
authorRichard Weinberger <richard@nod.at>
Thu, 4 May 2017 06:15:10 +0000 (08:15 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 4 May 2017 06:15:10 +0000 (08:15 +0200)
We need linux/threads.h for that variable.

Fixes: 8bba077066d6d0 ("um: Set number of CPUs")
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/skas/process.c

index 92f7ee14b10ed560046227af01c3b7bc905f34e4..03b3c4cc7735ac49f30e4b867dbd06944ec6456d 100644 (file)
@@ -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)
 {