Module Name: src Committed By: dyoung Date: Fri Mar 27 15:47:33 UTC 2009
Modified Files: src/sys/arch/xen/include: intr.h src/sys/arch/xen/xen: evtchn.c Log Message: Explicitly #include <sys/device.h> and <sys/evcnt.h>. These files only got the definitions they needed by chance, before. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/xen/include/intr.h cvs rdiff -u -r1.42 -r1.43 src/sys/arch/xen/xen/evtchn.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/xen/include/intr.h diff -u src/sys/arch/xen/include/intr.h:1.29 src/sys/arch/xen/include/intr.h:1.30 --- src/sys/arch/xen/include/intr.h:1.29 Fri May 30 19:03:10 2008 +++ src/sys/arch/xen/include/intr.h Fri Mar 27 15:47:33 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: intr.h,v 1.29 2008/05/30 19:03:10 ad Exp $ */ +/* $NetBSD: intr.h,v 1.30 2009/03/27 15:47:33 dyoung Exp $ */ /* NetBSD intr.h,v 1.15 2004/10/31 10:39:34 yamt Exp */ /*- @@ -41,6 +41,7 @@ #include <xen/evtchn.h> #include <machine/cpu.h> #include <machine/pic.h> +#include <sys/evcnt.h> #include "opt_xen.h" Index: src/sys/arch/xen/xen/evtchn.c diff -u src/sys/arch/xen/xen/evtchn.c:1.42 src/sys/arch/xen/xen/evtchn.c:1.43 --- src/sys/arch/xen/xen/evtchn.c:1.42 Wed Dec 17 20:51:33 2008 +++ src/sys/arch/xen/xen/evtchn.c Fri Mar 27 15:47:33 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: evtchn.c,v 1.42 2008/12/17 20:51:33 cegger Exp $ */ +/* $NetBSD: evtchn.c,v 1.43 2009/03/27 15:47:33 dyoung Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -64,7 +64,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: evtchn.c,v 1.42 2008/12/17 20:51:33 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: evtchn.c,v 1.43 2009/03/27 15:47:33 dyoung Exp $"); #include "opt_xen.h" #include "isa.h" @@ -73,6 +73,7 @@ #include <sys/param.h> #include <sys/kernel.h> #include <sys/systm.h> +#include <sys/device.h> #include <sys/proc.h> #include <sys/malloc.h> #include <sys/reboot.h>