projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SPARC64] PCI: Use root list of pbm's instead of pci_controller_info's
[powerpc.git]
/
arch
/
v850
/
kernel
/
ma.c
diff --git
a/arch/v850/kernel/ma.c
b/arch/v850/kernel/ma.c
index
2aa8ab0
..
143774d
100644
(file)
--- a/
arch/v850/kernel/ma.c
+++ b/
arch/v850/kernel/ma.c
@@
-43,7
+43,7
@@
static struct v850e_intc_irq_init irq_inits[] = {
{ "ST", IRQ_INTST(0), IRQ_INTST_NUM, 4, 5 },
{ 0 }
};
-#define NUM_IRQ_INITS (
(sizeof irq_inits / sizeof irq_inits[0]
) - 1)
+#define NUM_IRQ_INITS (
ARRAY_SIZE(irq_inits
) - 1)
static struct hw_interrupt_type hw_itypes[NUM_IRQ_INITS];