aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-omap-2.6.37/linus/0063-arch-mn10300-kernel-irq.c-fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-omap-2.6.37/linus/0063-arch-mn10300-kernel-irq.c-fix-build.patch')
-rw-r--r--recipes/linux/linux-omap-2.6.37/linus/0063-arch-mn10300-kernel-irq.c-fix-build.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-2.6.37/linus/0063-arch-mn10300-kernel-irq.c-fix-build.patch b/recipes/linux/linux-omap-2.6.37/linus/0063-arch-mn10300-kernel-irq.c-fix-build.patch
new file mode 100644
index 0000000000..cf6a5c7540
--- /dev/null
+++ b/recipes/linux/linux-omap-2.6.37/linus/0063-arch-mn10300-kernel-irq.c-fix-build.patch
@@ -0,0 +1,31 @@
+From d9a1abe4844e7591cd82e167a1a09e6546f6c45e Mon Sep 17 00:00:00 2001
+From: Andrew Morton <akpm@linux-foundation.org>
+Date: Mon, 3 Jan 2011 14:59:11 -0800
+Subject: [PATCH 63/66] arch/mn10300/kernel/irq.c: fix build
+
+Addresses https://bugzilla.kernel.org/show_bug.cgi?id=25702
+
+Reported-by: Martin Ettl <ettl.martin@gmx.de>
+Cc: David Howells <dhowells@redhat.com>
+Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
+Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+---
+ arch/mn10300/kernel/irq.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arch/mn10300/kernel/irq.c b/arch/mn10300/kernel/irq.c
+index c2e4459..ac11754 100644
+--- a/arch/mn10300/kernel/irq.c
++++ b/arch/mn10300/kernel/irq.c
+@@ -459,7 +459,7 @@ void migrate_irqs(void)
+ tmp = CROSS_GxICR(irq, new);
+
+ x &= GxICR_LEVEL | GxICR_ENABLE;
+- if (GxICR(irq) & GxICR_REQUEST) {
++ if (GxICR(irq) & GxICR_REQUEST)
+ x |= GxICR_REQUEST | GxICR_DETECT;
+ CROSS_GxICR(irq, new) = x;
+ tmp = CROSS_GxICR(irq, new);
+--
+1.6.6.1
+