diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-03-21 17:05:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-03-21 17:05:02 +0000 |
commit | f1e8af29d3da56a6c159f86f921bdbd4a6d0532d (patch) | |
tree | ab9d0e8ca4ca0d607947fba2857911ffe7528f41 /sys/arch/sgi | |
parent | 8d1a2da38d1d84fd1ed768fde0803f8aef6d72db (diff) |
let this compile without DIAGNOSTIC; from miod
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r-- | sys/arch/sgi/xbow/impact.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/xbow/impact.c b/sys/arch/sgi/xbow/impact.c index 8e86e1a3a37..f53caede575 100644 --- a/sys/arch/sgi/xbow/impact.c +++ b/sys/arch/sgi/xbow/impact.c @@ -1,4 +1,4 @@ -/* $OpenBSD: impact.c,v 1.3 2010/03/13 21:56:17 miod Exp $ */ +/* $OpenBSD: impact.c,v 1.4 2010/03/21 17:05:01 deraadt Exp $ */ /* * Copyright (c) 2010 Miodrag Vallat. @@ -349,7 +349,9 @@ int impact_cmd_fifo_wait(struct impact_screen *scr) { u_int32_t val, timeout = 1000000; +#ifdef DIAGNOSTIC struct impact_softc *sc = scr->sc; +#endif val = bus_space_read_4(scr->iot, scr->ioh, IMPACTSR_FIFOSTATUS); while ((val & IMPACTSR_FIFO_MASK) != 0) { |