There seems to be no header file which declares system_running.
extern void bust_spinlocks(int yes);
extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */
extern int panic_on_oops;
-
+extern int system_running;
extern int tainted;
extern const char *print_tainted(void);
#define TAINT_PROPRIETARY_MODULE (1<<0)
* Are we up and running (ie do we have all the infrastructure
* set up)
*/
-int system_running = 0;
+int system_running;
/*
* Boot command-line arguments
#include <linux/kernel.h>
#include <asm/uaccess.h>
-extern int max_threads, system_running;
+extern int max_threads;
#ifdef CONFIG_KMOD
int C_A_D = 1;
int cad_pid = 1;
-extern int system_running;
-
/*
* Notifier list for kernel code which wants to be called
* at shutdown. This is used to stop any idling DMA operations