Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt/include Include <mips/mips_param.h> after MA...



details:   https://anonhg.NetBSD.org/src/rev/9ee31a529757
branches:  trunk
changeset: 763395:9ee31a529757
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Mar 18 16:19:13 2011 +0000

description:
Include <mips/mips_param.h> after MACHINE is defined.

diffstat:

 sys/arch/cobalt/include/param.h |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 23f04053931e -r 9ee31a529757 sys/arch/cobalt/include/param.h
--- a/sys/arch/cobalt/include/param.h   Fri Mar 18 16:18:45 2011 +0000
+++ b/sys/arch/cobalt/include/param.h   Fri Mar 18 16:19:13 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.18 2011/03/06 20:34:57 he Exp $    */
+/*     $NetBSD: param.h,v 1.19 2011/03/18 16:19:13 tsutsui Exp $       */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -37,12 +37,10 @@
 #ifndef        _COBALT_PARAM_H_
 #define        _COBALT_PARAM_H_
 
-#include <mips/mips_param.h>
+#define        _MACHINE        cobalt
+#define        MACHINE         "cobalt"
 
-#define        _MACHINE        cobalt
-#ifdef _KERNEL
-#define        MACHINE         "cobalt"
-#endif
+#include <mips/mips_param.h>
 
 #define        DEV_BSIZE       512
 #define        DEV_BSHIFT      9               /* log2(DEV_BSIZE) */



Home | Main Index | Thread Index | Old Index