arch/mn10300/kernel/irq.c: fix build [Linux 2.6.37]

This Linux kernel change "arch/mn10300/kernel/irq.c: fix build" is included in the Linux 2.6.37 release. This change is authored by Andrew Morton <akpm [at] linux-foundation.org> on Mon Jan 3 14:59:11 2011 -0800. The commit for this change in Linux stable tree is d9a1abe (patch).

arch/mn10300/kernel/irq.c: fix build

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=25702

Reported-by: Martin Ettl <[email protected]>
Cc: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/mn10300/kernel/irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);

Leave a Reply

Your email address will not be published. Required fields are marked *