Skip to content

Commit

Permalink
drivers/scsi: use nr_irqs
Browse files Browse the repository at this point in the history
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Oct 16, 2008
1 parent c7576b5 commit 171ac6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/aha152x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 171ac6a

Please sign in to comment.