Use ARRAY_SIZE() macro in i386 relocs.c file
authorRobert P. J. Day <rpjday@mindspring.com>
Sat, 17 Feb 2007 18:10:01 +0000 (19:10 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sat, 17 Feb 2007 18:10:01 +0000 (19:10 +0100)
commitca820181fc187af316a18b2700582663662c4012
tree83d6fe8614964b1b2c0658ca99b104e0b61ded07
parentd08df601a30df9e36c29f3214315f4f0c8784c68
Use ARRAY_SIZE() macro in i386 relocs.c file

Change the explicit code in the relocs.c file to use ARRAY_SIZE()
and add a definition of ARRAY_SIZE() since this is a userspace program
and wouldn't include kernel.h.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
arch/i386/boot/compressed/relocs.c