Commit cb37891b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] export system_running to other files

There seems to be no header file which declares system_running.
parent d012fa6e
......@@ -101,7 +101,7 @@ static inline void console_verbose(void)
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)
......
......@@ -94,7 +94,7 @@ extern void tc_init(void);
* 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
......
......@@ -36,7 +36,7 @@
#include <linux/kernel.h>
#include <asm/uaccess.h>
extern int max_threads, system_running;
extern int max_threads;
#ifdef CONFIG_KMOD
......
......@@ -78,8 +78,6 @@ EXPORT_SYMBOL(fs_overflowgid);
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment