Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips/include - include <mips/mips_param.h> afte...



details:   https://anonhg.NetBSD.org/src/rev/cc56d735adff
branches:  trunk
changeset: 763397:cc56d735adff
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Mar 18 16:21:30 2011 +0000

description:
- include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment

diffstat:

 sys/arch/newsmips/include/param.h |  12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diffs (35 lines):

diff -r 7bc66c364d74 -r cc56d735adff sys/arch/newsmips/include/param.h
--- a/sys/arch/newsmips/include/param.h Fri Mar 18 16:20:12 2011 +0000
+++ b/sys/arch/newsmips/include/param.h Fri Mar 18 16:21:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     from $NetBSD: param.h,v 1.20 2011/03/06 20:34:57 he Exp $       */
+/*     from $NetBSD: param.h,v 1.21 2011/03/18 16:21:30 tsutsui Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -38,23 +38,17 @@
  *     @(#)param.h     8.1 (Berkeley) 6/10/93
  */
 
-/*
- * Machine-dependent constants (VM, etc) common across MIPS cpus
- */
-
 #ifndef        _NEWSMIPS_PARAM_H_
 #define        _NEWSMIPS_PARAM_H_
 
-#include <mips/mips_param.h>
-
 /*
  * Machine dependent constants for mips-based NEWS.
  */
 
 #define        _MACHINE        newsmips
-#ifdef _KERNEL
 #define        MACHINE         "newsmips"
-#endif
+
+#include <mips/mips_param.h>
 
 #define        KERNBASE        0x80000000      /* start of kernel virtual */
 #define KERNTEXTOFF    0x80001000      /* start of kernel text for kvm_mkdb */



Home | Main Index | Thread Index | Old Index