blob: b8ef7053039c930fa1bdfe0d8fcfa0b6e5c81f0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
linux-qoriq-sdk: Repair a kernel compile issue due to a sintax error.
The define __hard_irq_disable() was done using ";" character
into the comment so the if structure did not recognized the
"else" branch.
Upstream-Status: Pending
Signed-off-by: Alexandru Vaduva <alexandru.vaduva@enea.com>
diff -ruN a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
--- a/arch/powerpc/kernel/irq.c 2014-01-30 12:56:20.470918180 +0100
+++ b/arch/powerpc/kernel/irq.c 2014-01-30 12:57:25.228109187 +0100
@@ -227,8 +227,9 @@
* common cases that we'll ignore for now), so we skip the
* (expensive) mtmsrd.
*/
- if (unlikely(irq_happened != PACA_IRQ_HARD_DIS))
+ if (unlikely(irq_happened != PACA_IRQ_HARD_DIS)) {
__hard_irq_disable();
+ }
#ifdef CONFIG_TRACE_IRQFLAGS
else {
/*
|