Source-Changes-HG archive

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

[src/trunk]: src/sys Remove fs_mfs.h from users because it is now unnecessary...



details:   https://anonhg.NetBSD.org/src/rev/324f4f2de76a
branches:  trunk
changeset: 752630:324f4f2de76a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Mar 02 17:28:08 2010 +0000

description:
Remove fs_mfs.h from users because it is now unnecessary and don't
generate fs_mfs.h anymore.

diffstat:

 sys/arch/arc/arc/machdep.c           |  9 ++-------
 sys/arch/hpcmips/hpcmips/machdep.c   |  7 ++-----
 sys/arch/hpcsh/hpcsh/machdep.c       |  7 ++-----
 sys/arch/landisk/landisk/machdep.c   |  7 ++-----
 sys/arch/mipsco/mipsco/machdep.c     |  7 ++-----
 sys/arch/newsmips/newsmips/machdep.c |  7 ++-----
 sys/arch/pmax/pmax/machdep.c         |  7 ++-----
 sys/ufs/files.ufs                    |  4 ++--
 8 files changed, 16 insertions(+), 39 deletions(-)

diffs (296 lines):

diff -r 28cb061af9dd -r 324f4f2de76a sys/arch/arc/arc/machdep.c
--- a/sys/arch/arc/arc/machdep.c        Tue Mar 02 17:20:02 2010 +0000
+++ b/sys/arch/arc/arc/machdep.c        Tue Mar 02 17:28:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.120 2010/02/08 19:02:26 joerg Exp $      */
+/*     $NetBSD: machdep.c,v 1.121 2010/03/02 17:28:08 pooka Exp $      */
 /*     $OpenBSD: machdep.c,v 1.36 1999/05/22 21:22:19 weingart Exp $   */
 
 /*
@@ -78,9 +78,8 @@
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.120 2010/02/08 19:02:26 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.121 2010/03/02 17:28:08 pooka Exp $");
 
-#include "fs_mfs.h"
 #include "opt_ddb.h"
 #include "opt_ddbparam.h"
 #include "opt_md.h"
@@ -108,9 +107,7 @@
 #include <sys/syscallargs.h>
 #include <sys/kcore.h>
 #include <sys/ksyms.h>
-#ifdef MFS
 #include <ufs/mfs/mfs_extern.h>                /* mfs_initminiroot() */
-#endif
 
 #include <machine/bootinfo.h>
 #include <machine/cpu.h>
@@ -401,14 +398,12 @@
        sprintf(cpu_model, "%s %s%s",
            platform->vendor, platform->model, platform->variant);
 
-#ifdef MFS
        /*
         * Check to see if a mini-root was loaded into memory. It resides
         * at the start of the next page just after the end of BSS.
         */
        if (boothowto & RB_MINIROOT)
                kernend += round_page(mfs_initminiroot(kernend));
-#endif
 
 #if NKSYMS || defined(DDB) || defined(MODULAR)
        /* init symbols if present */
diff -r 28cb061af9dd -r 324f4f2de76a sys/arch/hpcmips/hpcmips/machdep.c
--- a/sys/arch/hpcmips/hpcmips/machdep.c        Tue Mar 02 17:20:02 2010 +0000
+++ b/sys/arch/hpcmips/hpcmips/machdep.c        Tue Mar 02 17:28:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.109 2010/02/08 19:02:29 joerg Exp $      */
+/*     $NetBSD: machdep.c,v 1.110 2010/03/02 17:28:08 pooka Exp $      */
 
 /*-
  * Copyright (c) 1999 Shin Takemura, All rights reserved.
@@ -108,7 +108,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.109 2010/02/08 19:02:29 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.110 2010/03/02 17:28:08 pooka Exp $");
 
 #include "opt_vr41xx.h"
 #include "opt_tx39xx.h"
@@ -116,7 +116,6 @@
 #include "opt_modular.h"
 #include "opt_spec_platform.h"
 #include "biconsdev.h"
-#include "fs_mfs.h"
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
 #include "opt_rtc_offset.h"
@@ -430,7 +429,6 @@
                        }
                }
        }
-#ifdef MFS
        /*
         * Check to see if a mini-root was loaded into memory. It resides
         * at the start of the next page just after the end of BSS.
@@ -443,7 +441,6 @@
 #endif /* MEMORY_DISK_DYNAMIC */
                kernend = (char *)kernend + fssz;
        }
-#endif /* MFS */
 
 #if NKSYMS || defined(DDB) || defined(MODULAR)
        /* init symbols if present */
diff -r 28cb061af9dd -r 324f4f2de76a sys/arch/hpcsh/hpcsh/machdep.c
--- a/sys/arch/hpcsh/hpcsh/machdep.c    Tue Mar 02 17:20:02 2010 +0000
+++ b/sys/arch/hpcsh/hpcsh/machdep.c    Tue Mar 02 17:28:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.70 2009/11/27 03:23:09 rmind Exp $       */
+/*     $NetBSD: machdep.c,v 1.71 2010/03/02 17:28:08 pooka Exp $       */
 
 /*-
  * Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
@@ -27,13 +27,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.70 2009/11/27 03:23:09 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.71 2010/03/02 17:28:08 pooka Exp $");
 
 #include "opt_md.h"
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
 #include "opt_modular.h"
-#include "fs_mfs.h"
 #include "fs_nfs.h"
 #include "biconsdev.h"
 #include "debug_hpc.h"
@@ -256,7 +255,6 @@
                }
        }
 
-#ifdef MFS
        /*
         * Check to see if a mini-root was loaded into memory. It resides
         * at the start of the next page just after the end of BSS.
@@ -269,7 +267,6 @@
 #endif
                kernend += fssz;
        }
-#endif /* MFS */
 
        /* Console */
        consinit();
diff -r 28cb061af9dd -r 324f4f2de76a sys/arch/landisk/landisk/machdep.c
--- a/sys/arch/landisk/landisk/machdep.c        Tue Mar 02 17:20:02 2010 +0000
+++ b/sys/arch/landisk/landisk/machdep.c        Tue Mar 02 17:28:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.13 2009/11/27 03:23:10 rmind Exp $       */
+/*     $NetBSD: machdep.c,v 1.14 2010/03/02 17:28:08 pooka Exp $       */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.13 2009/11/27 03:23:10 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.14 2010/03/02 17:28:08 pooka Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -73,7 +73,6 @@
 #include "opt_kloader_kernel_path.h"
 #include "opt_memsize.h"
 #include "opt_modular.h"
-#include "fs_mfs.h"
 
 #include "ksyms.h"
 #include "scif.h"
@@ -196,7 +195,6 @@
        /* Initialize console */
        consinit();
 
-#ifdef MFS
        /*
         * Check to see if a mini-root was loaded into memory. It resides
         * at the start of the next page just after the end of BSS.
@@ -209,7 +207,6 @@
 #endif
                kernend += fssz;
        }
-#endif /* MFS */
 
 #ifdef KLOADER
        /* copy boot parameter for kloader */
diff -r 28cb061af9dd -r 324f4f2de76a sys/arch/mipsco/mipsco/machdep.c
--- a/sys/arch/mipsco/mipsco/machdep.c  Tue Mar 02 17:20:02 2010 +0000
+++ b/sys/arch/mipsco/mipsco/machdep.c  Tue Mar 02 17:28:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.71 2010/02/08 19:02:30 joerg Exp $       */
+/*     $NetBSD: machdep.c,v 1.72 2010/03/02 17:28:08 pooka Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -76,7 +76,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.71 2010/02/08 19:02:30 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.72 2010/03/02 17:28:08 pooka Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
@@ -130,7 +130,6 @@
 
 #include <sys/boot_flag.h>
 
-#include "fs_mfs.h"
 #include "opt_execfmt.h"
 
 #include "zsc.h"                       /* XXX */
@@ -337,14 +336,12 @@
                kgdb_connect(0);
 #endif
 
-#ifdef MFS
        /*
         * Check to see if a mini-root was loaded into memory. It resides
         * at the start of the next page just after the end of BSS.
         */
        if (boothowto & RB_MINIROOT)
                kernend += round_page(mfs_initminiroot(kernend));
-#endif
 
        /*
         * Load the rest of the available pages into the VM system.
diff -r 28cb061af9dd -r 324f4f2de76a sys/arch/newsmips/newsmips/machdep.c
--- a/sys/arch/newsmips/newsmips/machdep.c      Tue Mar 02 17:20:02 2010 +0000
+++ b/sys/arch/newsmips/newsmips/machdep.c      Tue Mar 02 17:28:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.108 2010/02/08 19:02:30 joerg Exp $      */
+/*     $NetBSD: machdep.c,v 1.109 2010/03/02 17:28:08 pooka Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -76,11 +76,10 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.108 2010/02/08 19:02:30 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.109 2010/03/02 17:28:08 pooka Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
-#include "fs_mfs.h"
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
 #include "opt_modular.h"
@@ -345,14 +344,12 @@
        boothowto |= RB_KDB;
 #endif
 
-#ifdef MFS
        /*
         * Check to see if a mini-root was loaded into memory. It resides
         * at the start of the next page just after the end of BSS.
         */
        if (boothowto & RB_MINIROOT)
                kernend += round_page(mfs_initminiroot(kernend));
-#endif
 
        /*
         * Load the rest of the available pages into the VM system.
diff -r 28cb061af9dd -r 324f4f2de76a sys/arch/pmax/pmax/machdep.c
--- a/sys/arch/pmax/pmax/machdep.c      Tue Mar 02 17:20:02 2010 +0000
+++ b/sys/arch/pmax/pmax/machdep.c      Tue Mar 02 17:28:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.239 2010/02/08 19:02:31 joerg Exp $      */
+/*     $NetBSD: machdep.c,v 1.240 2010/03/02 17:28:08 pooka Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -77,9 +77,8 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.239 2010/02/08 19:02:31 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.240 2010/03/02 17:28:08 pooka Exp $");
 
-#include "fs_mfs.h"
 #include "opt_ddb.h"
 #include "opt_modular.h"
 
@@ -335,14 +334,12 @@
                }
        }
 
-#ifdef MFS
        /*
         * Check to see if a mini-root was loaded into memory. It resides
         * at the start of the next page just after the end of BSS.
         */
        if (boothowto & RB_MINIROOT)
                kernend += round_page(mfs_initminiroot(kernend));
-#endif
 
 #if NKSYMS || defined(DDB) || defined(MODULAR)
        /* init symbols if present */
diff -r 28cb061af9dd -r 324f4f2de76a sys/ufs/files.ufs
--- a/sys/ufs/files.ufs Tue Mar 02 17:20:02 2010 +0000
+++ b/sys/ufs/files.ufs Tue Mar 02 17:28:08 2010 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: files.ufs,v 1.22 2010/03/02 17:23:36 pooka Exp $
+#      $NetBSD: files.ufs,v 1.23 2010/03/02 17:28:09 pooka Exp $
 
 deffs                                  FFS
 deffs                                  EXT2FS
-deffs  fs_mfs.h                        MFS             # XXX
+deffs                                  MFS
 deffs  fs_lfs.h                        LFS             # XXX
 
 defflag        opt_ffs.h                       FFS_EI FFS_NO_SNAPSHOT APPLE_UFS



Home | Main Index | Thread Index | Old Index