diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 63d3e8f2970c..379090fadac9 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -693,7 +693,7 @@ int __init_or_module do_one_initcall(initcall_t fn) | |||
693 | 693 | ||
694 | if (preempt_count() != count) { | 694 | if (preempt_count() != count) { |
695 | sprintf(msgbuf, "preemption imbalance "); | 695 | sprintf(msgbuf, "preemption imbalance "); |
696 | preempt_count() = count; | 696 | preempt_count_set(count); |
697 | } | 697 | } |
698 | if (irqs_disabled()) { | 698 | if (irqs_disabled()) { |
699 | strlcat(msgbuf, "disabled interrupts ", sizeof(msgbuf)); | 699 | strlcat(msgbuf, "disabled interrupts ", sizeof(msgbuf)); |