提交 171ac6ae 编写于 作者: Y Yinghai Lu 提交者: Ingo Molnar

drivers/scsi: use nr_irqs

Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册