1 From 8809b176ecde425d13cab8920a66fbfd6fb4c3b7 Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Tue, 24 Jun 2008 23:26:54 -0600
4 Subject: [PATCH] Make sure interrupt handler calls aren't nested.
6 LTIBName: m5445x-fecint-nest
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
9 drivers/net/fec.c | 5 ++++-
10 1 files changed, 4 insertions(+), 1 deletions(-)
12 --- a/drivers/net/fec.c
13 +++ b/drivers/net/fec.c
16 * Bug fixes and cleanup by Philippe De Muyter (phdm@macqel.be)
17 * Copyright (c) 2004-2006 Macq Electronique SA.
19 + * Coldfire bug fixes and cleanup by Kurt Mahan (kmahan@freescale.com)
20 + * Copyright 2007-2008 Freescale Semiconductor, Inc. All Rights Reserved.
23 #include <linux/module.h>
24 @@ -1865,7 +1868,7 @@ static void __inline__ fec_request_intrs
26 /* Setup interrupt handlers. */
27 for (idp = id; idp->name; idp++) {
28 - if (request_irq(b+idp->irq, fec_enet_interrupt, 0,
29 + if (request_irq(b+idp->irq, fec_enet_interrupt, IRQF_DISABLED,
31 printk(KERN_ERR "FEC: Could not alloc %s IRQ(%d)!\n",
32 idp->name, b+idp->irq);