[PATCH] uml: Use ARRAY_SIZE more assiduously
authorJeff Dike <jdike@addtoit.com>
Tue, 26 Sep 2006 06:33:00 +0000 (23:33 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:49:05 +0000 (08:49 -0700)
commit91b165c0594ab78c64f26d26e3174e6dfd60ed9d
tree0730eefa9d4ce786f7f561e3b40700418d6d0970
parent13c06be399902c9ebda08e092edb1614bb4a3761
[PATCH] uml: Use ARRAY_SIZE more assiduously

There were a bunch of missed ARRAY_SIZE opportunities.

Also, some formatting fixes in the affected areas of code.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/chan_kern.c
arch/um/drivers/mconsole_kern.c
arch/um/drivers/mconsole_user.c
arch/um/drivers/pcap_kern.c
arch/um/kernel/mem.c
arch/um/kernel/reboot.c
arch/um/kernel/tlb.c
arch/um/os-Linux/mem.c
arch/um/sys-i386/bugs.c
arch/um/sys-i386/ldt.c
arch/um/sys-i386/ptrace_user.c