lkml.org 
[lkml]   [2008]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 14/25] drivers/scsi to use nr_irqs
    Date
    Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
    ---
    drivers/scsi/aha152x.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c
    index b5a868d..1e5478a 100644
    --- a/drivers/scsi/aha152x.c
    +++ b/drivers/scsi/aha152x.c
    @@ -337,7 +337,7 @@ CMD_INC_RESID(struct scsi_cmnd *cmd, int inc)
    #else
    #define IRQ_MIN 9
    #if defined(__PPC)
    -#define IRQ_MAX (NR_IRQS-1)
    +#define IRQ_MAX (nr_irqs-1)
    #else
    #define IRQ_MAX 12
    #endif
    --
    1.5.4.5


    \
     
     \ /
      Last update: 2008-08-03 05:07    [W:0.019 / U:1.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site