[RFC PATCH 3/5] lib/bug: Use RCU list ops for module_bug_list

2014-08-25 Thread Masami Hiramatsu
Actually since module_bug_list should be used in BUG context, we may not need this. But for someone who want to use this from normal context, this makes module_bug_list an RCU list. Signed-off-by: Masami Hiramatsu --- kernel/module.c |5 +++-- lib/bug.c | 20 ++-- 2

[RFC PATCH 3/5] lib/bug: Use RCU list ops for module_bug_list

2014-08-25 Thread Masami Hiramatsu
Actually since module_bug_list should be used in BUG context, we may not need this. But for someone who want to use this from normal context, this makes module_bug_list an RCU list. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com --- kernel/module.c |5 +++-- lib/bug.c