summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-06-17 01:42:24 +0530
committerChris Metcalf <cmetcalf@tilera.com>2014-06-16 16:21:29 -0400
commit8dfb6948f7d8208a7f03fafaeeec10b8a79911c5 (patch)
tree68daec45a648f6de10e32cc38a497ab1668eb418 /arch/powerpc
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
tile: use ARRAY_SIZE
ARRAY_SIZE is more concise to use when the size of an array is divided by the size of its type or the size of its first element. The semantic patch that makes this change is as follows: // <smpl> @i@ @@ @@ type T; T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions