From: Stefan Roese Date: Wed, 26 Dec 2007 19:20:19 +0000 (+0100) Subject: ppc4xx: Fix compilation problem in 405 cache POST test X-Git-Tag: v1.3.2-rc1~102^2~57^2~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e583d6c81034f80a267b89fa55498ae063ccef1;p=u-boot ppc4xx: Fix compilation problem in 405 cache POST test Signed-off-by: Stefan Roese --- diff --git a/post/cpu/ppc4xx/cache.c b/post/cpu/ppc4xx/cache.c index c8ddf35a08..c86a150692 100644 --- a/post/cpu/ppc4xx/cache.c +++ b/post/cpu/ppc4xx/cache.c @@ -61,6 +61,7 @@ int cache_post_test (int flags) void *virt = (void *)CFG_POST_CACHE_ADDR; int ints; int res = 0; + int tlb = -1; /* index to the victim TLB entry */ /* * All 44x variants deal with cache management differently @@ -70,7 +71,6 @@ int cache_post_test (int flags) */ #ifdef CONFIG_440 int word0, i; - int tlb; /* index to the victim TLB entry */ /* * Allocate a new TLB entry, since we are going to modify