From b3efe1bf17f3b1f70522a57b58ead18be3ea3e6e Mon Sep 17 00:00:00 2001 From: Mike Belopuhov Date: Mon, 6 Feb 2017 21:43:49 +0000 Subject: Use separate compile time debug flags for xen, xnf and xbf --- sys/dev/pv/xen.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/dev/pv/xen.c') diff --git a/sys/dev/pv/xen.c b/sys/dev/pv/xen.c index e4036af176b..b09ec2aa041 100644 --- a/sys/dev/pv/xen.c +++ b/sys/dev/pv/xen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xen.c,v 1.73 2017/01/31 12:17:20 mikeb Exp $ */ +/* $OpenBSD: xen.c,v 1.74 2017/02/06 21:43:48 mikeb Exp $ */ /* * Copyright (c) 2015 Mike Belopuhov @@ -55,6 +55,14 @@ #include #include +/* #define XEN_DEBUG */ + +#ifdef XEN_DEBUG +#define DPRINTF(x...) printf(x) +#else +#define DPRINTF(x...) +#endif + struct xen_softc *xen_sc; int xen_init_hypercall(struct xen_softc *); -- cgit v1.2.3