From 3f1e5768eb5c6a694481de466bb6e2e23353127e Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 16 Oct 2009 14:07:32 +0000 Subject: Make Octane kernels compile again after recent changes. My bad. --- sys/arch/sgi/xbow/xbridge.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/arch/sgi/xbow/xbridge.c b/sys/arch/sgi/xbow/xbridge.c index 0b4e4627ac3..b31bf4378c1 100644 --- a/sys/arch/sgi/xbow/xbridge.c +++ b/sys/arch/sgi/xbow/xbridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xbridge.c,v 1.52 2009/10/15 23:40:49 miod Exp $ */ +/* $OpenBSD: xbridge.c,v 1.53 2009/10/16 14:07:31 miod Exp $ */ /* * Copyright (c) 2008, 2009 Miodrag Vallat. @@ -1266,7 +1266,9 @@ int xbridge_space_map_mem(bus_space_tag_t t, bus_addr_t offs, bus_size_t size, int flags, bus_space_handle_t *bshp) { +#if defined(TGT_ORIGIN200) || defined(TGT_ORIGIN2000) || defined(DIAGNOSTIC) struct xbridge_bus *xb = (struct xbridge_bus *)t->bus_private; +#endif /* * Base address is either within the devio area, or our direct @@ -1366,8 +1368,10 @@ int xbridge_space_region_mem(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp) { +#if defined(TGT_ORIGIN200) || defined(TGT_ORIGIN2000) || defined(DIAGNOSTIC) struct xbridge_bus *xb = (struct xbridge_bus *)t->bus_private; bus_addr_t bpa; +#endif /* * Base address is either within the devio area, or our direct -- cgit v1.2.3