]> err.no Git - linux-2.6/commit
[SPARC]: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Wed, 9 Nov 2005 20:03:05 +0000 (12:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2005 20:03:05 +0000 (12:03 -0800)
commit940fdc6e1223f1323b88b7f1e7ae09a93a76b74d
tree5a4ea9eb953dedae6bc0b7828a63133f16a5902a
parenta5ee3634630c218e86afc5bae2acb55b9e47625d
[SPARC]: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a
duplicate of ARRAY_SIZE which is never used anyways.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/cpu.c
arch/sparc/kernel/pcic.c
arch/sparc/mm/fault.c