Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 09:22:17 -0700 (PDT)
From:      Robert Drehmel <robert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28829 for review
Message-ID:  <200304121622.h3CGMHDV024430@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28829

Change 28829 by robert@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__ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304121622.h3CGMHDV024430>