Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356285
b: refs/heads/master
c: eece09e
h: refs/heads/master
i:
  356283: 91576ae
v: v3
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Feb 19, 2013
1 parent 2fb306f commit 4f260f5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0540606837af79b2ae101e5e7b2206e3844d150
refs/heads/master: eece09ec213e93333010bf4c6bb9175b32229c54
6 changes: 3 additions & 3 deletions trunk/drivers/char/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ static struct entropy_store input_pool = {
.poolinfo = &poolinfo_table[0],
.name = "input",
.limit = 1,
.lock = __SPIN_LOCK_UNLOCKED(&input_pool.lock),
.lock = __SPIN_LOCK_UNLOCKED(input_pool.lock),
.pool = input_pool_data
};

Expand All @@ -454,15 +454,15 @@ static struct entropy_store blocking_pool = {
.name = "blocking",
.limit = 1,
.pull = &input_pool,
.lock = __SPIN_LOCK_UNLOCKED(&blocking_pool.lock),
.lock = __SPIN_LOCK_UNLOCKED(blocking_pool.lock),
.pool = blocking_pool_data
};

static struct entropy_store nonblocking_pool = {
.poolinfo = &poolinfo_table[1],
.name = "nonblocking",
.pull = &input_pool,
.lock = __SPIN_LOCK_UNLOCKED(&nonblocking_pool.lock),
.lock = __SPIN_LOCK_UNLOCKED(nonblocking_pool.lock),
.pool = nonblocking_pool_data
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/chipidea/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static struct {
} dbg_data = {
.idx = 0,
.tty = 0,
.lck = __RW_LOCK_UNLOCKED(lck)
.lck = __RW_LOCK_UNLOCKED(dbg_data.lck)
};

/**
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ struct files_struct init_files = {
.close_on_exec = init_files.close_on_exec_init,
.open_fds = init_files.open_fds_init,
},
.file_lock = __SPIN_LOCK_UNLOCKED(init_task.file_lock),
.file_lock = __SPIN_LOCK_UNLOCKED(init_files.file_lock),
};

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/idr.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ struct ida {
struct ida_bitmap *free_bitmap;
};

#define IDA_INIT(name) { .idr = IDR_INIT(name), .free_bitmap = NULL, }
#define IDA_INIT(name) { .idr = IDR_INIT((name).idr), .free_bitmap = NULL, }
#define DEFINE_IDA(name) struct ida name = IDA_INIT(name)

int ida_pre_get(struct ida *ida, gfp_t gfp_mask);
Expand Down

0 comments on commit 4f260f5

Please sign in to comment.