summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-31 09:28:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-31 09:28:42 +0000
commitc559f92002997bea78414f32bcbc05109b4ffdf1 (patch)
treee7c9f19d5fc5b351beee9583d4a493fc26856ffe
parent8eec392465d86ee95c60098e2a65f78e8eab7349 (diff)
By popular demand and peer pressure, check-in work in progress work to support
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
-rw-r--r--sys/arch/loongson/include/cdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/arch/loongson/include/cdefs.h b/sys/arch/loongson/include/cdefs.h
new file mode 100644
index 00000000000..4b75be32450
--- /dev/null
+++ b/sys/arch/loongson/include/cdefs.h
@@ -0,0 +1,8 @@
+/* $OpenBSD: cdefs.h,v 1.1.1.1 2009/07/31 09:28:41 miod Exp $ */
+/* public domain */
+#include <mips64/cdefs.h>
+
+#if defined(lint) && !defined(__MIPSEL__)
+#define __MIPSEL__
+#undef __MIPSEB__
+#endif