Re: [PATCH 2/3] [libata/BF54x]: Fix bug - Implement bfin ata interrupthandler to avoid "irq 68 nobody cared"

From: Jeff Garzik
Date: Fri Apr 25 2008 - 01:17:38 EST


Bryan Wu wrote:
From: Sonic Zhang <sonic.zhang@xxxxxxxxxx>

Return IRQ_HANDLED when bfin ata device is busy.
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3513

Signed-off-by: Sonic Zhang <sonic.zhang@xxxxxxxxxx>
Signed-off-by: Bryan Wu <cooloney@xxxxxxxxxx>
---
drivers/ata/pata_bf54x.c | 125 ++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 121 insertions(+), 4 deletions(-)

AFAICS the two new functions you add should be (a) marked 'static' and (b) not marked 'inline'.

We avoid inline these days, preferring to let the compiler make the best choice for that platform/CPU.

Jeff



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/