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
Kirill Smelkov
linux
Commits
f6a57033
Commit
f6a57033
authored
Oct 18, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] severing module.h->sched.h
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
2b5f6dcc
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
29 additions
and
14 deletions
+29
-14
arch/i386/kernel/alternative.c
arch/i386/kernel/alternative.c
+1
-0
arch/i386/kernel/cpu/mcheck/therm_throt.c
arch/i386/kernel/cpu/mcheck/therm_throt.c
+1
-0
drivers/base/cpu.c
drivers/base/cpu.c
+1
-0
drivers/hwmon/abituguru.c
drivers/hwmon/abituguru.c
+1
-0
drivers/leds/ledtrig-ide-disk.c
drivers/leds/ledtrig-ide-disk.c
+1
-0
drivers/leds/ledtrig-timer.c
drivers/leds/ledtrig-timer.c
+1
-0
drivers/pci/access.c
drivers/pci/access.c
+1
-0
drivers/scsi/scsi_transport_sas.c
drivers/scsi/scsi_transport_sas.c
+1
-0
drivers/w1/slaves/w1_therm.c
drivers/w1/slaves/w1_therm.c
+1
-0
include/asm-x86_64/elf.h
include/asm-x86_64/elf.h
+0
-1
include/linux/acct.h
include/linux/acct.h
+1
-0
include/linux/module.h
include/linux/module.h
+1
-12
include/scsi/libiscsi.h
include/scsi/libiscsi.h
+2
-0
kernel/latency.c
kernel/latency.c
+1
-0
kernel/module.c
kernel/module.c
+14
-1
lib/random32.c
lib/random32.c
+1
-0
No files found.
arch/i386/kernel/alternative.c
View file @
f6a57033
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <asm/alternative.h>
...
...
arch/i386/kernel/cpu/mcheck/therm_throt.c
View file @
f6a57033
...
...
@@ -20,6 +20,7 @@
#include <linux/cpu.h>
#include <asm/cpu.h>
#include <linux/notifier.h>
#include <linux/jiffies.h>
#include <asm/therm_throt.h>
/* How long to wait between reporting thermal events */
...
...
drivers/base/cpu.c
View file @
f6a57033
...
...
@@ -5,6 +5,7 @@
#include <linux/sysdev.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/cpu.h>
#include <linux/topology.h>
#include <linux/device.h>
...
...
drivers/hwmon/abituguru.c
View file @
f6a57033
...
...
@@ -21,6 +21,7 @@
etc voltage & frequency control is not supported!
*/
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
...
...
drivers/leds/ledtrig-ide-disk.c
View file @
f6a57033
...
...
@@ -12,6 +12,7 @@
*/
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/timer.h>
...
...
drivers/leds/ledtrig-timer.c
View file @
f6a57033
...
...
@@ -12,6 +12,7 @@
*/
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/list.h>
...
...
drivers/pci/access.c
View file @
f6a57033
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/wait.h>
...
...
drivers/scsi/scsi_transport_sas.c
View file @
f6a57033
...
...
@@ -25,6 +25,7 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/string.h>
...
...
drivers/w1/slaves/w1_therm.c
View file @
f6a57033
...
...
@@ -24,6 +24,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/sched.h>
#include <linux/device.h>
#include <linux/types.h>
#include <linux/delay.h>
...
...
include/asm-x86_64/elf.h
View file @
f6a57033
...
...
@@ -45,7 +45,6 @@ typedef struct user_i387_struct elf_fpregset_t;
#ifdef __KERNEL__
#include <asm/processor.h>
#include <asm/compat.h>
/*
* This is used to ensure we don't load something for the wrong architecture.
...
...
include/linux/acct.h
View file @
f6a57033
...
...
@@ -119,6 +119,7 @@ struct acct_v3
#ifdef CONFIG_BSD_PROCESS_ACCT
struct
vfsmount
;
struct
super_block
;
struct
pacct_struct
;
extern
void
acct_auto_close_mnt
(
struct
vfsmount
*
m
);
extern
void
acct_auto_close
(
struct
super_block
*
sb
);
extern
void
acct_init_pacct
(
struct
pacct_struct
*
pacct
);
...
...
include/linux/module.h
View file @
f6a57033
...
...
@@ -6,7 +6,6 @@
* Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996
* Rewritten again by Rusty Russell, 2002
*/
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/stat.h>
...
...
@@ -411,17 +410,7 @@ static inline int try_module_get(struct module *module)
return
ret
;
}
static
inline
void
module_put
(
struct
module
*
module
)
{
if
(
module
)
{
unsigned
int
cpu
=
get_cpu
();
local_dec
(
&
module
->
ref
[
cpu
].
count
);
/* Maybe they're waiting for us to drop reference? */
if
(
unlikely
(
!
module_is_live
(
module
)))
wake_up_process
(
module
->
waiter
);
put_cpu
();
}
}
extern
void
module_put
(
struct
module
*
module
);
#else
/*!CONFIG_MODULE_UNLOAD*/
static
inline
int
try_module_get
(
struct
module
*
module
)
...
...
include/scsi/libiscsi.h
View file @
f6a57033
...
...
@@ -25,6 +25,8 @@
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <scsi/iscsi_proto.h>
#include <scsi/iscsi_if.h>
...
...
kernel/latency.c
View file @
f6a57033
...
...
@@ -36,6 +36,7 @@
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/notifier.h>
#include <linux/jiffies.h>
#include <asm/atomic.h>
struct
latency_info
{
...
...
kernel/module.c
View file @
f6a57033
...
...
@@ -34,10 +34,10 @@
#include <linux/err.h>
#include <linux/vermagic.h>
#include <linux/notifier.h>
#include <linux/sched.h>
#include <linux/stop_machine.h>
#include <linux/device.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/mutex.h>
#include <linux/unwind.h>
#include <asm/uaccess.h>
...
...
@@ -790,6 +790,19 @@ static struct module_attribute refcnt = {
.
show
=
show_refcnt
,
};
void
module_put
(
struct
module
*
module
)
{
if
(
module
)
{
unsigned
int
cpu
=
get_cpu
();
local_dec
(
&
module
->
ref
[
cpu
].
count
);
/* Maybe they're waiting for us to drop reference? */
if
(
unlikely
(
!
module_is_live
(
module
)))
wake_up_process
(
module
->
waiter
);
put_cpu
();
}
}
EXPORT_SYMBOL
(
module_put
);
#else
/* !CONFIG_MODULE_UNLOAD */
static
void
print_unload_info
(
struct
seq_file
*
m
,
struct
module
*
mod
)
{
...
...
lib/random32.c
View file @
f6a57033
...
...
@@ -36,6 +36,7 @@
#include <linux/types.h>
#include <linux/percpu.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/random.h>
struct
rnd_state
{
...
...
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