[POWERPC] PPC: Use ARRAY_SIZE macro when appropriate
authorAhmed S. Darwish <darwish.07@gmail.com>
Tue, 6 Feb 2007 00:14:10 +0000 (16:14 -0800)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Feb 2007 05:08:25 +0000 (16:08 +1100)
commit2366fb16abcd8dea96820d3cb4f1de3a868d268c
tree9e1514ad01f3258c29dd6dad1c1ebfe4c35f649a
parent3839a5943977674d224cca541fd0914b942aa466
[POWERPC] PPC: 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>
Acked-by: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/lib/rheap.c
arch/ppc/syslib/m8xx_setup.c
arch/ppc/xmon/ppc-opc.c