lib/bug: Use RCU list ops for module_bug_list
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Sun, 9 Nov 2014 22:58:29 +0000 (09:28 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 11 Nov 2014 06:37:46 +0000 (17:07 +1030)
commit0286b5ea125e58b4797747f688949c05394412e8
treedef974e29b25f8a7a00da7b39f5b18bac93af98d
parent461e34aed0550fee706a9a28fb453830b5079ea0
lib/bug: Use RCU list ops for module_bug_list

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.pt@hitachi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c
lib/bug.c