diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 55b2e0ae1f98..23cf74554d73 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -258,7 +258,10 @@ powerpc_init(vm_offset_t startkernel, vm_offset_t endkernel, size_t trap_offset; void *kmdp; char *env; - register_t msr, scratch, vers; + register_t msr, scratch; +#ifdef WII + register_t vers; +#endif uint8_t *cache_check; int cacheline_warn; #ifndef __powerpc64__