projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pantheon: define CONFIG_SYS_CACHELINE_SIZE
[oweals/u-boot.git]
/
post
/
lib_powerpc
/
three.c
diff --git
a/post/lib_powerpc/three.c
b/post/lib_powerpc/three.c
index 7f8c1e2b8644c04c2ea2b0b8ea04e08bfc2271cd..4391386df1b0350cf05f589480a5f760daece99f 100644
(file)
--- a/
post/lib_powerpc/three.c
+++ b/
post/lib_powerpc/three.c
@@
-155,8
+155,7
@@
static struct cpu_post_three_s
0x40
},
};
-static unsigned int cpu_post_three_size =
- sizeof (cpu_post_three_table) / sizeof (struct cpu_post_three_s);
+static unsigned int cpu_post_three_size = ARRAY_SIZE(cpu_post_three_table);
int cpu_post_test_three (void)
{