[PATCH 2.6.20] arch PowerPC: user ARRAY_SIZE macro when appropriate

2007-02-04 Thread Ahmed S. Darwish
Hi all, A patch to use ARRAY_SIZE macro already defined in linux/kernel.h Signed-off-by: Ahmed S. Darwish <[EMAIL PROTECTED]> --- Patch isn't compile checked cause I have no PowerPC machine at hand. Thanks, diff --git a/arch/powerpc/lib/rheap.c b/arch/powerpc/lib/rheap.c index 57bf991..54b7b2b

[PATCH 2.6.20] arch PowerPC: user ARRAY_SIZE macro when appropriate

2007-02-04 Thread Ahmed S. Darwish
Hi all, A patch to use ARRAY_SIZE macro already defined in linux/kernel.h Signed-off-by: Ahmed S. Darwish [EMAIL PROTECTED] --- Patch isn't compile checked cause I have no PowerPC machine at hand. Thanks, diff --git a/arch/powerpc/lib/rheap.c b/arch/powerpc/lib/rheap.c index 57bf991..54b7b2b