diff options
Diffstat (limited to 'post/lib_powerpc/cmp.c')
| -rw-r--r-- | post/lib_powerpc/cmp.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/post/lib_powerpc/cmp.c b/post/lib_powerpc/cmp.c index 5f6a3b904..ae5b72b2c 100644 --- a/post/lib_powerpc/cmp.c +++ b/post/lib_powerpc/cmp.c @@ -95,8 +95,7 @@ static struct cpu_post_cmp_s  	0x04      },  }; -static unsigned int cpu_post_cmp_size = -    sizeof (cpu_post_cmp_table) / sizeof (struct cpu_post_cmp_s); +static unsigned int cpu_post_cmp_size = ARRAY_SIZE(cpu_post_cmp_table);  int cpu_post_test_cmp (void)  { |