Commit 171ac6ae authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

drivers/scsi: use nr_irqs

Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c7576b5b
...@@ -337,7 +337,7 @@ CMD_INC_RESID(struct scsi_cmnd *cmd, int inc) ...@@ -337,7 +337,7 @@ CMD_INC_RESID(struct scsi_cmnd *cmd, int inc)
#else #else
#define IRQ_MIN 9 #define IRQ_MIN 9
#if defined(__PPC) #if defined(__PPC)
#define IRQ_MAX (NR_IRQS-1) #define IRQ_MAX (nr_irqs-1)
#else #else
#define IRQ_MAX 12 #define IRQ_MAX 12
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment