Hide unused variables in #ifdef FIXME

This commit is contained in:
skrll 2014-03-08 18:07:39 +00:00
parent b9c4fe5c83
commit 5b6224b9c8

View File

@ -1,4 +1,4 @@
/* $NetBSD: tsarm_machdep.c,v 1.21 2013/08/18 15:58:21 matt Exp $ */
/* $NetBSD: tsarm_machdep.c,v 1.22 2014/03/08 18:07:39 skrll Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.21 2013/08/18 15:58:21 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.22 2014/03/08 18:07:39 skrll Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -378,10 +378,11 @@ initarm(void *arg)
int loop;
int loop1;
u_int l1pagetable;
#ifdef FIXME
paddr_t memstart;
psize_t memsize;
#ifdef FIXME
/* Calibrate the delay loop. */
i80321_calibrate_delay();
#endif
@ -415,7 +416,7 @@ initarm(void *arg)
*/
i80321_sdram_bounds(&obio_bs_tag, VERDE_PMMR_BASE + VERDE_MCU_BASE,
&memstart, &memsize);
#else
memstart = 0x0;
memsize = 0x2000000;
#endif