On 03.01.14 19:46, FreeBSD Tinderbox wrote:
> machine -> /src/sys/arm/include
> cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs
> -fdiagnostics-show-option -Wno-error-tautological-compare
> -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I.
> -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter
> -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
> -I/src/sys/contrib/dev/ath/ath_hal -I/src/sys/contrib/ngatm
> -I/src/sys/dev/twa -I/src/sys/dev/cxgb -I/src/sys/dev/cxgbe
> -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
> opt_global.h -funwind-tables -ffreestanding /src/sys/arm/arm/genassym.c
> In file included from /src/sys/arm/arm/genassym.c:48:
> In file included from ./machine/intr.h:71:
> /src/sys/sys/bus.h:585:10: fatal error: 'device_if.h' file not found
> #include "device_if.h"
The attached fixes this breakage (and the one on arm:arm). Ok to commit?
Andreas
Index: arm/arm/trap.c
===================================================================
--- arm/arm/trap.c (revision 260220)
+++ arm/arm/trap.c (working copy)
@@ -85,6 +85,7 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
+#include <sys/bus.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/kernel.h>
Index: arm/include/intr.h
===================================================================
--- arm/include/intr.h (revision 260220)
+++ arm/include/intr.h (working copy)
@@ -67,8 +67,6 @@
#define NIRQ 32
#endif
-#include <machine/psl.h>
-#include <sys/bus.h>
int arm_get_next_irq(int);
void arm_mask_irq(uintptr_t);
Index: arm/include/psl.h
===================================================================
--- arm/include/psl.h (revision 260220)
+++ arm/include/psl.h (working copy)
@@ -46,7 +46,6 @@
#ifndef _MACHINE_PSL_H_
#define _MACHINE_PSL_H_
-#include <machine/intr.h>
/*
* These are the different SPL states
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"