diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-05 23:20:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-05 23:20:27 +0000 |
commit | 0275dcbbe75bf604e5d9b03f215e510188a36496 (patch) | |
tree | 5c28b494f1e6a54c80a5317abfe2c32e13cbbdc5 /sys/arch/arm | |
parent | 56b74e8e5b53b78f8c539afa3b9581be53b79e06 (diff) |
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/arm/fiq.c | 4 | ||||
-rw-r--r-- | sys/arch/arm/arm/pmap.c | 3 | ||||
-rw-r--r-- | sys/arch/arm/armv7/armv7_a4x_space.c | 4 | ||||
-rw-r--r-- | sys/arch/arm/armv7/armv7_space.c | 7 | ||||
-rw-r--r-- | sys/arch/arm/include/sysarch.h | 7 | ||||
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_dmac.c | 3 | ||||
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_intr.c | 4 |
7 files changed, 10 insertions, 22 deletions
diff --git a/sys/arch/arm/arm/fiq.c b/sys/arch/arm/arm/fiq.c index 6bf734c501f..60bb686d35d 100644 --- a/sys/arch/arm/arm/fiq.c +++ b/sys/arch/arm/arm/fiq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fiq.c,v 1.2 2011/09/20 22:02:11 miod Exp $ */ +/* $OpenBSD: fiq.c,v 1.3 2012/12/05 23:20:11 deraadt Exp $ */ /* $NetBSD: fiq.c,v 1.5 2002/04/03 23:33:27 thorpej Exp $ */ /* @@ -36,8 +36,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> - #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/arch/arm/arm/pmap.c b/sys/arch/arm/arm/pmap.c index 690f89b3391..7478196a017 100644 --- a/sys/arch/arm/arm/pmap.c +++ b/sys/arch/arm/arm/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.37 2012/04/19 14:21:01 deraadt Exp $ */ +/* $OpenBSD: pmap.c,v 1.38 2012/12/05 23:20:11 deraadt Exp $ */ /* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */ /* @@ -190,7 +190,6 @@ #include <sys/malloc.h> #include <sys/user.h> #include <sys/pool.h> -#include <sys/cdefs.h> #include <sys/sched.h> #include <uvm/uvm.h> diff --git a/sys/arch/arm/armv7/armv7_a4x_space.c b/sys/arch/arm/armv7/armv7_a4x_space.c index 3fea5a3129e..845f7704d8d 100644 --- a/sys/arch/arm/armv7/armv7_a4x_space.c +++ b/sys/arch/arm/armv7/armv7_a4x_space.c @@ -1,4 +1,4 @@ -/* $OpenBSD: armv7_a4x_space.c,v 1.1 2009/05/08 02:57:32 drahn Exp $ */ +/* $OpenBSD: armv7_a4x_space.c,v 1.2 2012/12/05 23:20:11 deraadt Exp $ */ /* $NetBSD: armv7_a4x_space.c,v 1.2 2003/07/15 00:24:54 lukem Exp $ */ /* @@ -39,8 +39,6 @@ * all registers are located at the address of multiple of 4. */ -#include <sys/cdefs.h> - #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/arch/arm/armv7/armv7_space.c b/sys/arch/arm/armv7/armv7_space.c index 97fb452e7c0..df0aede80e1 100644 --- a/sys/arch/arm/armv7/armv7_space.c +++ b/sys/arch/arm/armv7/armv7_space.c @@ -1,4 +1,4 @@ -/* $OpenBSD: armv7_space.c,v 1.1 2009/05/08 02:57:32 drahn Exp $ */ +/* $OpenBSD: armv7_space.c,v 1.2 2012/12/05 23:20:11 deraadt Exp $ */ /* * Copyright (c) 2001, 2002 Wasabi Systems, Inc. @@ -75,11 +75,6 @@ * Derived from i80321_space.c. */ -#include <sys/cdefs.h> -/* -__KERNEL_RCSID(0, "$NetBSD: armv7_space.c,v 1.5 2004/06/07 19:45:22 nathanw Exp $"); -*/ - #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/arch/arm/include/sysarch.h b/sys/arch/arm/include/sysarch.h index 155006b6333..946db39ab29 100644 --- a/sys/arch/arm/include/sysarch.h +++ b/sys/arch/arm/include/sysarch.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sysarch.h,v 1.2 2004/05/19 03:17:07 drahn Exp $ */ +/* $OpenBSD: sysarch.h,v 1.3 2012/12/05 23:20:11 deraadt Exp $ */ /* $NetBSD: sysarch.h,v 1.4 2002/03/30 06:23:39 thorpej Exp $ */ /* @@ -36,8 +36,6 @@ #ifndef _ARM_SYSARCH_H_ #define _ARM_SYSARCH_H_ -#include <sys/cdefs.h> - /* * Architecture specific syscalls (arm) */ @@ -51,6 +49,9 @@ struct arm_sync_icache_args { }; #ifndef _KERNEL + +#include <sys/cdefs.h> + __BEGIN_DECLS int arm_sync_icache (u_int addr, int len); int arm_drain_writebuf (void); diff --git a/sys/arch/arm/xscale/pxa2x0_dmac.c b/sys/arch/arm/xscale/pxa2x0_dmac.c index 2235d01b407..60bce8ac1ae 100644 --- a/sys/arch/arm/xscale/pxa2x0_dmac.c +++ b/sys/arch/arm/xscale/pxa2x0_dmac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_dmac.c,v 1.3 2006/04/04 11:37:05 pascoe Exp $ */ +/* $OpenBSD: pxa2x0_dmac.c,v 1.4 2012/12/05 23:20:11 deraadt Exp $ */ /* * Copyright (c) 2005 Christopher Pascoe <pascoe@openbsd.org> @@ -19,7 +19,6 @@ /* * DMA Controller Handler for the Intel PXA2X0 processor. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/arch/arm/xscale/pxa2x0_intr.c b/sys/arch/arm/xscale/pxa2x0_intr.c index 70d3d436d2b..e438498515c 100644 --- a/sys/arch/arm/xscale/pxa2x0_intr.c +++ b/sys/arch/arm/xscale/pxa2x0_intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_intr.c,v 1.22 2011/09/20 22:02:13 miod Exp $ */ +/* $OpenBSD: pxa2x0_intr.c,v 1.23 2012/12/05 23:20:11 deraadt Exp $ */ /* $NetBSD: pxa2x0_intr.c,v 1.5 2003/07/15 00:24:55 lukem Exp $ */ /* @@ -39,8 +39,6 @@ * It has integrated interrupt controller. */ -#include <sys/cdefs.h> - #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> |