Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
cb37891b
Commit
cb37891b
authored
Oct 21, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Oct 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] export system_running to other files
There seems to be no header file which declares system_running.
parent
d012fa6e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
include/linux/kernel.h
include/linux/kernel.h
+1
-1
init/main.c
init/main.c
+1
-1
kernel/kmod.c
kernel/kmod.c
+1
-1
kernel/sys.c
kernel/sys.c
+0
-2
No files found.
include/linux/kernel.h
View file @
cb37891b
...
...
@@ -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)
...
...
init/main.c
View file @
cb37891b
...
...
@@ -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
...
...
kernel/kmod.c
View file @
cb37891b
...
...
@@ -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
...
...
kernel/sys.c
View file @
cb37891b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment