]> err.no Git - linux-2.6/commit
[PATCH] arch/i386: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Mon, 7 Nov 2005 08:58:31 +0000 (00:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:28 +0000 (07:53 -0800)
commit38e548ee1a79c8da7b3d9e26f2adce9b61413f84
tree1811dc06acbba9d9bccebe6ad3fc495e96862e60
parent0d6d82b6712c808e461090dd483f111f72b3b38b
[PATCH] arch/i386: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0])

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apm.c
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
arch/i386/kernel/mca.c
arch/i386/kernel/reboot_fixups.c
arch/i386/kernel/smpboot.c