diff --git a/sys/arch/xen/xen/privcmd.c b/sys/arch/xen/xen/privcmd.c index 8aee05bc4279..5e30bcc489b4 100644 --- a/sys/arch/xen/xen/privcmd.c +++ b/sys/arch/xen/xen/privcmd.c @@ -1,4 +1,4 @@ -/* $NetBSD: privcmd.c,v 1.9 2005/12/24 23:24:07 perry Exp $ */ +/* $NetBSD: privcmd.c,v 1.10 2006/01/14 11:03:35 yamt Exp $ */ /*- * Copyright (c) 2004 Christian Limpach. @@ -32,7 +32,9 @@ #include -__KERNEL_RCSID(0, "$NetBSD: privcmd.c,v 1.9 2005/12/24 23:24:07 perry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: privcmd.c,v 1.10 2006/01/14 11:03:35 yamt Exp $"); + +#include "opt_compat_netbsd.h" #include #include @@ -81,14 +83,14 @@ privcmd_ioctl(void *v) : "=a" (error) : "0" (ap->a_data) : "memory" ); error = -error; break; -#if 1 /* COMPAT_xxx */ +#if defined(COMPAT_30) case IOCTL_PRIVCMD_INITDOMAIN_EVTCHN_OLD: { extern int initdom_ctrlif_domcontroller_port; error = initdom_ctrlif_domcontroller_port; } break; -#endif +#endif /* defined(COMPAT_30) */ case IOCTL_PRIVCMD_INITDOMAIN_EVTCHN: { extern int initdom_ctrlif_domcontroller_port;