]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Wed, 9 Nov 2005 20:03:42 +0000 (12:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2005 20:03:42 +0000 (12:03 -0800)
commit84c1a13a30f21406f39e546684a78ebe9859e6d7
tree296330a7d501eb349070363df28da70b10a62963
parent940fdc6e1223f1323b88b7f1e7ae09a93a76b74d
[SPARC64]: 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/sparc64/kernel/cpu.c
arch/sparc64/kernel/sbus.c
arch/sparc64/mm/fault.c