From 1e1c2f1bdb1296512db1f03495b1df91e1a3ad1b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 17 Nov 2007 05:33:41 +0000 Subject: Add some preprocessor magic to let M187 and M188 kernels compile again. --- sys/arch/mvme88k/dev/vme.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/mvme88k/dev') diff --git a/sys/arch/mvme88k/dev/vme.c b/sys/arch/mvme88k/dev/vme.c index b50ba20db04..59a5d7e6b04 100644 --- a/sys/arch/mvme88k/dev/vme.c +++ b/sys/arch/mvme88k/dev/vme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vme.c,v 1.46 2007/03/22 18:52:38 miod Exp $ */ +/* $OpenBSD: vme.c,v 1.47 2007/11/17 05:33:38 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * Copyright (c) 1999 Steve Murphree, Jr. @@ -459,7 +459,9 @@ u_int vmevec_hints[8] = { int vmeintr_establish(int vec, struct intrhand *ih, const char *name) { +#if NPCCTWO > 0 struct vmesoftc *sc = (struct vmesoftc *) vme_cd.cd_devs[0]; +#endif int rc; #ifdef DIAGNOSTIC -- cgit v1.2.3