summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-04-21 07:19:22 +0000
committerimp <imp@FreeBSD.org>2006-04-21 07:19:22 +0000
commitce4eb8b530b0f5b43842e87535f45a8c495e145e (patch)
tree5a0128dd29889f2162939347b5ed8f6340883597
parent2b289f67a8c5b79f1371c4b559709a2362fdfa57 (diff)
downloadFreeBSD-src-ce4eb8b530b0f5b43842e87535f45a8c495e145e.zip
FreeBSD-src-ce4eb8b530b0f5b43842e87535f45a8c495e145e.tar.gz
MFp4:
Make this compile, assuming that you have linux installed in a sensible place. tag_list is disabled by default, since we don't distribute linux, but it is desirable to allow the boot loader to boot Linux or FreeBSD (mostly for testing).
-rw-r--r--sys/boot/arm/at91/libat91/tag_list.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/arm/at91/libat91/tag_list.c b/sys/boot/arm/at91/libat91/tag_list.c
index 41b150c..c6a9bba 100644
--- a/sys/boot/arm/at91/libat91/tag_list.c
+++ b/sys/boot/arm/at91/libat91/tag_list.c
@@ -28,7 +28,9 @@
#define u16 unsigned short
#define u8 unsigned char
-#include "/usr/src/arm/linux/include/asm/setup.h"
+// #include "/usr/src/arm/linux/include/asm/setup.h"
+#include <linux/asm/setup.h>
+#include "tag_list.h"
#define PAGE_SIZE 0x1000
#define MEM_SIZE 0x2000000
OpenPOWER on IntegriCloud