process: kernel flag has moved to common
authorAlan Cox <alan@etchedpixels.co.uk>
Sat, 15 Nov 2014 13:59:44 +0000 (13:59 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Sat, 15 Nov 2014 13:59:44 +0000 (13:59 +0000)
Kernel/process.c

index ef9e945..6d59901 100644 (file)
@@ -339,7 +339,7 @@ void timer_interrupt(void)
 #include "syscall_name.h"
 #endif
 
-int16_t kernel_flag = 1;       /* true when in a syscall etc, maintained by the
+extern int16_t kernel_flag;    /* true when in a syscall etc, maintained by the
                                   asm interfaces but visible in C */
 
 // Fuzix system call handler