equal
deleted
inserted
replaced
|
1 From e779acd6c7e4638956c3163a026d417a372dafd0 Mon Sep 17 00:00:00 2001 |
|
2 From: Florian Westphal <fw@strlen.de> |
|
3 Date: Sat, 4 Apr 2009 23:52:09 +0200 |
|
4 Subject: [PATCH] prevent warn_on_slowpath assertion failure |
|
5 |
|
6 --- |
|
7 kernel/softirq.c | 2 +- |
|
8 1 files changed, 1 insertions(+), 1 deletions(-) |
|
9 |
|
10 diff --git a/kernel/softirq.c b/kernel/softirq.c |
|
11 index 9041ea7..ac4f578 100644 |
|
12 --- a/kernel/softirq.c |
|
13 +++ b/kernel/softirq.c |
|
14 @@ -121,7 +121,7 @@ EXPORT_SYMBOL(_local_bh_enable); |
|
15 |
|
16 static inline void _local_bh_enable_ip(unsigned long ip) |
|
17 { |
|
18 - WARN_ON_ONCE(in_irq() || irqs_disabled()); |
|
19 +/* WARN_ON_ONCE(in_irq() || irqs_disabled()); */ |
|
20 #ifdef CONFIG_TRACE_IRQFLAGS |
|
21 local_irq_disable(); |
|
22 #endif |
|
23 -- |
|
24 1.6.0.6 |
|
25 |