mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
[PATCH] kernel/rcupdate.c: make two structs static
This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
7a673c6b8f
commit
2178426d26
2 changed files with 2 additions and 4 deletions
|
@ -50,13 +50,13 @@
|
|||
#include <linux/mutex.h>
|
||||
|
||||
/* Definition for rcupdate control block. */
|
||||
struct rcu_ctrlblk rcu_ctrlblk = {
|
||||
static struct rcu_ctrlblk rcu_ctrlblk = {
|
||||
.cur = -300,
|
||||
.completed = -300,
|
||||
.lock = SPIN_LOCK_UNLOCKED,
|
||||
.cpumask = CPU_MASK_NONE,
|
||||
};
|
||||
struct rcu_ctrlblk rcu_bh_ctrlblk = {
|
||||
static struct rcu_ctrlblk rcu_bh_ctrlblk = {
|
||||
.cur = -300,
|
||||
.completed = -300,
|
||||
.lock = SPIN_LOCK_UNLOCKED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue