PERFORCE change 28829 for review
Robert Drehmel
robert at FreeBSD.org
Sat Apr 12 09:22:19 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28829
Change 28829 by robert at robert_spes on 2003/04/12 09:22:10
Exclude some code from compilation if __mips__ is defined.
This code needs further examination.
Affected files ...
.. //depot/projects/mips/sys/boot/arc/lib/bootinfo.c#3 edit
Differences ...
==== //depot/projects/mips/sys/boot/arc/lib/bootinfo.c#3 (text+ko) ====
@@ -31,9 +31,12 @@
#include <sys/param.h>
#include <sys/linker.h>
#include <machine/elf.h>
+#ifndef __mips__
+/* XXX mips */
#include <machine/prom.h>
#include <machine/rpb.h>
#include <machine/bootinfo.h>
+#endif
#include "bootstrap.h"
/*
@@ -138,6 +141,7 @@
return(addr);
}
+#ifndef __mips__
/*
* Load the information expected by an alpha kernel.
*
@@ -201,3 +205,4 @@
return(0);
}
+#endif /* !__mips__ */
More information about the p4-projects
mailing list