Skip to content

Commit ce45860

Browse files
um: Add missing NR_CPUS include
We need linux/threads.h for that variable. Fixes: 8bba077 ("um: Set number of CPUs") Signed-off-by: Richard Weinberger <[email protected]>
1 parent 5b4236e commit ce45860

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/um/os-Linux/skas/process.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <registers.h>
2222
#include <skas.h>
2323
#include <sysdep/stub.h>
24+
#include <linux/threads.h>
2425

2526
int is_skas_winch(int pid, int fd, void *data)
2627
{

0 commit comments

Comments
 (0)