[POWERPC] Use ARRAY_SIZE macro when appropriate
authorAhmed S. Darwish <darwish.07@gmail.com>
Tue, 6 Feb 2007 00:14:09 +0000 (16:14 -0800)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Feb 2007 05:08:18 +0000 (16:08 +1100)
commit3839a5943977674d224cca541fd0914b942aa466
treee680a69c5052e8746539ebc2e3561f62f92f0b50
parent0524aad7b89671bc788d483b2c048ac7b79eefb9
[POWERPC] Use ARRAY_SIZE macro when appropriate

Use ARRAY_SIZE macro already defined in linux/kernel.h

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/lib/rheap.c
arch/powerpc/xmon/ppc-opc.c
arch/powerpc/xmon/spu-opc.c