summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-27 17:49:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-27 17:49:56 +0000
commit05752d9ea1020f44bb76143173b41046332bc84e (patch)
tree60a4944d2bfb7dbf06d5890b3d7de8594995a217
parent29c3295bff1f418c69e052c17e5f3affc06ee4df (diff)
Unbreak non-DIAGNOSTIC kernels (i.e. RAMDISK-IP27)
-rw-r--r--sys/arch/sgi/xbow/xbridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/xbow/xbridge.c b/sys/arch/sgi/xbow/xbridge.c
index 3db0600a906..a209a18c5b7 100644
--- a/sys/arch/sgi/xbow/xbridge.c
+++ b/sys/arch/sgi/xbow/xbridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbridge.c,v 1.43 2009/07/26 19:56:45 miod Exp $ */
+/* $OpenBSD: xbridge.c,v 1.44 2009/07/27 17:49:55 miod Exp $ */
/*
* Copyright (c) 2008, 2009 Miodrag Vallat.
@@ -1100,8 +1100,8 @@ int
xbridge_space_region_devio(bus_space_tag_t t , bus_space_handle_t bsh,
bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp)
{
- struct xbridge_softc *sc = (struct xbridge_softc *)t->bus_private;
#ifdef DIAGNOSTIC
+ struct xbridge_softc *sc = (struct xbridge_softc *)t->bus_private;
bus_addr_t bpa;
bus_addr_t start, end;
uint d;