x86/cache_info: Use ARRAY_SIZE() in amd_l3_attrs()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Oct 2012 08:34:09 +0000 (11:34 +0300)
committerIngo Molnar <mingo@kernel.org>
Thu, 4 Oct 2012 11:28:08 +0000 (13:28 +0200)
commit961c79761dda351b5fb263a0654b98daac130b7a
tree4770ed24548881f40c6747a12c472a95710de6f8
parentfcd8af585f587741c051f7124b8dee6c73c8629b
x86/cache_info: Use ARRAY_SIZE() in amd_l3_attrs()

Using ARRAY_SIZE() is more readable.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Shai Fultheim <shai@scalemp.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Link: http://lkml.kernel.org/r/20121002083409.GM12398@elgon.mountain
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/intel_cacheinfo.c