|
@@ -102,20 +102,6 @@ void local_bh_disable(void)
|
|
|
|
|
|
EXPORT_SYMBOL(local_bh_disable);
|
|
EXPORT_SYMBOL(local_bh_disable);
|
|
|
|
|
|
-void __local_bh_enable(void)
|
|
|
|
-{
|
|
|
|
- WARN_ON_ONCE(in_irq());
|
|
|
|
-
|
|
|
|
- /*
|
|
|
|
- * softirqs should never be enabled by __local_bh_enable(),
|
|
|
|
- * it always nests inside local_bh_enable() sections:
|
|
|
|
- */
|
|
|
|
- WARN_ON_ONCE(softirq_count() == SOFTIRQ_OFFSET);
|
|
|
|
-
|
|
|
|
- sub_preempt_count(SOFTIRQ_OFFSET);
|
|
|
|
-}
|
|
|
|
-EXPORT_SYMBOL_GPL(__local_bh_enable);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Special-case - softirqs can safely be enabled in
|
|
* Special-case - softirqs can safely be enabled in
|
|
* cond_resched_softirq(), or by __do_softirq(),
|
|
* cond_resched_softirq(), or by __do_softirq(),
|