Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Fix LKM/MODULAR case.



details:   https://anonhg.NetBSD.org/src/rev/2909e707f958
branches:  trunk
changeset: 763881:2909e707f958
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Apr 06 05:42:21 2011 +0000

description:
Fix LKM/MODULAR case.

diffstat:

 sys/arch/mips/include/cpu.h |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r ceb1a1b5f682 -r 2909e707f958 sys/arch/mips/include/cpu.h
--- a/sys/arch/mips/include/cpu.h       Wed Apr 06 05:40:18 2011 +0000
+++ b/sys/arch/mips/include/cpu.h       Wed Apr 06 05:42:21 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.99 2011/03/15 07:39:22 matt Exp $    */
+/*     $NetBSD: cpu.h,v 1.100 2011/04/06 05:42:21 matt Exp $   */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -146,11 +146,13 @@
 #ifdef _KERNEL
 #if defined(_MODULAR) || defined(_LKM) || defined(_STANDALONE)
 /* Assume all CPU architectures are valid for LKM's and standlone progs */
-#define        MIPS1   1
-#define        MIPS3   1
-#define        MIPS4   1
-#define        MIPS32  1
-#define        MIPS64  1
+#define        MIPS1           1
+#define        MIPS3           1
+#define        MIPS4           1
+#define        MIPS32          1
+#define        MIPS32R2        1
+#define        MIPS64          1
+#define        MIPS64R2        1
 #endif
 
 #if (MIPS1 + MIPS3 + MIPS4 + MIPS32 + MIPS32R2 + MIPS64 + MIPS64R2) == 0



Home | Main Index | Thread Index | Old Index