projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7576b5
)
drivers/scsi: use nr_irqs
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:49:54 +0000
(20:49 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:52:06 +0000
(16:52 +0200)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/scsi/aha152x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/aha152x.c
b/drivers/scsi/aha152x.c
index b5a868d85eb49760ac1f512195b29cb88c43578b..1e5478abd90ee8ae6c2371ff7f043d6f4f9122bf 100644
(file)
--- 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