diff options
author | Alejandro Martinez Ruiz | 2007-10-22 21:36:44 +0200 |
---|---|---|
committer | Ralf Baechle | 2008-01-29 11:14:54 +0100 |
commit | 2b22c034d04d3632a339d14d5803c8f94e412608 (patch) | |
tree | 332d25c97099978d28b644cc1fb405ec982dafdf /arch/mips/philips/pnx8550/common/setup.c | |
parent | [MIPS] tlbex: Cleanup handling of R2 hazards in TLB handlers. (diff) | |
download | kernel-qcow2-linux-2b22c034d04d3632a339d14d5803c8f94e412608.tar.gz kernel-qcow2-linux-2b22c034d04d3632a339d14d5803c8f94e412608.tar.xz kernel-qcow2-linux-2b22c034d04d3632a339d14d5803c8f94e412608.zip |
[MIPS] Converting most array size calculations to use ARRAY_SIZE().
Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/philips/pnx8550/common/setup.c')
-rw-r--r-- | arch/mips/philips/pnx8550/common/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/philips/pnx8550/common/setup.c b/arch/mips/philips/pnx8550/common/setup.c index 2ce298f4d19a..92d764c97701 100644 --- a/arch/mips/philips/pnx8550/common/setup.c +++ b/arch/mips/philips/pnx8550/common/setup.c @@ -74,7 +74,7 @@ struct resource standard_io_resources[] = { }, }; -#define STANDARD_IO_RESOURCES (sizeof(standard_io_resources)/sizeof(struct resource)) +#define STANDARD_IO_RESOURCES ARRAY_SIZE(standard_io_resources) extern struct resource pci_io_resource; extern struct resource pci_mem_resource; |