Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Remove unused pcbb() macro.



details:   https://anonhg.NetBSD.org/src/rev/822848648cfe
branches:  trunk
changeset: 499896:822848648cfe
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Dec 01 17:57:43 2000 +0000

description:
Remove unused pcbb() macro.

diffstat:

 sys/arch/hp300/include/vmparam.h    |  5 +----
 sys/arch/hpcmips/include/vmparam.h  |  5 +----
 sys/arch/mac68k/include/vmparam.h   |  5 +----
 sys/arch/mvme68k/include/vmparam.h  |  5 +----
 sys/arch/news68k/include/vmparam.h  |  5 +----
 sys/arch/newsmips/include/vmparam.h |  5 +----
 sys/arch/next68k/include/vmparam.h  |  5 +----
 sys/arch/x68k/include/vmparam.h     |  5 +----
 8 files changed, 8 insertions(+), 32 deletions(-)

diffs (146 lines):

diff -r 07057ea04cd3 -r 822848648cfe sys/arch/hp300/include/vmparam.h
--- a/sys/arch/hp300/include/vmparam.h  Fri Dec 01 17:17:29 2000 +0000
+++ b/sys/arch/hp300/include/vmparam.h  Fri Dec 01 17:57:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.22 2000/11/14 19:03:22 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.23 2000/12/01 17:57:43 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -156,9 +156,6 @@
 /* # of kernel PT pages (initial only, can grow dynamically) */
 #define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
 
-/* pcb base */
-#define        pcbb(p)         ((u_int)(p)->p_addr)
-
 /*
  * Constants which control the way the VM system deals with memory segments.
  * The hp300 only has one physical memory segment.
diff -r 07057ea04cd3 -r 822848648cfe sys/arch/hpcmips/include/vmparam.h
--- a/sys/arch/hpcmips/include/vmparam.h        Fri Dec 01 17:17:29 2000 +0000
+++ b/sys/arch/hpcmips/include/vmparam.h        Fri Dec 01 17:57:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.2 2000/02/21 13:46:04 shin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.3 2000/12/01 17:57:44 tsutsui Exp $      */
 
 #include <mips/vmparam.h>
 
@@ -9,6 +9,3 @@
 
 #define        VM_NFREELIST            1
 #define        VM_FREELIST_DEFAULT     0
-
-/* pcb base */
-/*#define      pcbb(p)         ((u_int)(p)->p_addr) */
diff -r 07057ea04cd3 -r 822848648cfe sys/arch/mac68k/include/vmparam.h
--- a/sys/arch/mac68k/include/vmparam.h Fri Dec 01 17:17:29 2000 +0000
+++ b/sys/arch/mac68k/include/vmparam.h Fri Dec 01 17:57:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.27 2000/11/14 19:07:34 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.28 2000/12/01 17:57:44 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -178,9 +178,6 @@
 /* # of kernel PT pages (initial only, can grow dynamically) */
 #define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
 
-/* pcb base */
-#define        pcbb(p)         ((u_int)(p)->p_addr)
-
 /*
  * Constants which control the way the VM system deals with memory segments.
  * Most mac68k systems have only 1 physical memory segment, but some have 2.
diff -r 07057ea04cd3 -r 822848648cfe sys/arch/mvme68k/include/vmparam.h
--- a/sys/arch/mvme68k/include/vmparam.h        Fri Dec 01 17:17:29 2000 +0000
+++ b/sys/arch/mvme68k/include/vmparam.h        Fri Dec 01 17:57:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.16 2000/11/14 19:12:58 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.17 2000/12/01 17:57:44 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -146,9 +146,6 @@
 /* # of kernel PT pages (initial only, can grow dynamically) */
 #define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
 
-/* pcb base */
-#define        pcbb(p)         ((u_int)(p)->p_addr)
-
 /*
  * Constants which control the way the VM system deals with memory segments.
  * The mvme68k port has two physical memory segments: 1 for onboard RAM
diff -r 07057ea04cd3 -r 822848648cfe sys/arch/news68k/include/vmparam.h
--- a/sys/arch/news68k/include/vmparam.h        Fri Dec 01 17:17:29 2000 +0000
+++ b/sys/arch/news68k/include/vmparam.h        Fri Dec 01 17:57:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.4 2000/11/14 19:23:07 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.5 2000/12/01 17:57:44 tsutsui Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -146,9 +146,6 @@
 /* # of kernel PT pages (initial only, can grow dynamically) */
 #define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
 
-/* pcb base */
-#define        pcbb(p)         ((u_int)(p)->p_addr)
-
 /*
  * Constants which control the way the VM system deals with memory segments.
  * The news68k only has one physical memory segment?
diff -r 07057ea04cd3 -r 822848648cfe sys/arch/newsmips/include/vmparam.h
--- a/sys/arch/newsmips/include/vmparam.h       Fri Dec 01 17:17:29 2000 +0000
+++ b/sys/arch/newsmips/include/vmparam.h       Fri Dec 01 17:57:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.3 1998/07/08 04:43:18 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.4 2000/12/01 17:57:44 tsutsui Exp $      */
 
 #include <mips/vmparam.h>
 
@@ -9,6 +9,3 @@
 
 #define        VM_NFREELIST            1
 #define        VM_FREELIST_DEFAULT     0
-
-/* pcb base */
-/*#define      pcbb(p)         ((u_int)(p)->p_addr) */
diff -r 07057ea04cd3 -r 822848648cfe sys/arch/next68k/include/vmparam.h
--- a/sys/arch/next68k/include/vmparam.h        Fri Dec 01 17:17:29 2000 +0000
+++ b/sys/arch/next68k/include/vmparam.h        Fri Dec 01 17:57:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.9 2000/11/14 19:29:00 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.10 2000/12/01 17:57:44 tsutsui Exp $     */
 
 /*
  * This file was taken from from mvme68k/include/vmparam.h and
@@ -153,9 +153,6 @@
 /* # of kernel PT pages (initial only, can grow dynamically) */
 #define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
 
-/* pcb base */
-#define        pcbb(p)         ((u_int)(p)->p_addr)
-
 /*
  * Constants which control the way the VM system deals with memory segments.
  */
diff -r 07057ea04cd3 -r 822848648cfe sys/arch/x68k/include/vmparam.h
--- a/sys/arch/x68k/include/vmparam.h   Fri Dec 01 17:17:29 2000 +0000
+++ b/sys/arch/x68k/include/vmparam.h   Fri Dec 01 17:57:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.15 2000/11/14 19:47:25 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.16 2000/12/01 17:57:45 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -148,9 +148,6 @@
 /* # of kernel PT pages (initial only, can grow dynamically) */
 #define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
 
-/* pcb base */
-#define        pcbb(p)         ((u_int)(p)->p_addr)
-
 /*
  * Constants which control the way the VM system deals with memory segments.
  */



Home | Main Index | Thread Index | Old Index