summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hppa/include/param.h6
-rw-r--r--sys/arch/mvme88k/include/param.h7
2 files changed, 2 insertions, 11 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h
index d0aa30a7d3b..69e14fec266 100644
--- a/sys/arch/hppa/include/param.h
+++ b/sys/arch/hppa/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.12 2001/07/06 02:07:41 provos Exp $ */
+/* $OpenBSD: param.h,v 1.13 2001/11/30 17:45:06 miod Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -53,10 +53,6 @@
#define PGOFSET (NBPG-1) /* byte offset into page */
#define PGSHIFT 12 /* LOG2(NBPG) */
-#define SEGSHIFT (PGSHIFT + (PGSHIFT-PTESHIFT)) /* LOG2(NBSEG) */
-#define NBSEG (1 << SEGSHIFT) /* bytes/segment (quadrant) */
-#define SEGOFSET (NBSEG-1) /* byte offset into segment */
-
#define KERNBASE 0x00000000 /* start of kernel virtual */
#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
diff --git a/sys/arch/mvme88k/include/param.h b/sys/arch/mvme88k/include/param.h
index dd119860b2b..d1f7b0c4f7b 100644
--- a/sys/arch/mvme88k/include/param.h
+++ b/sys/arch/mvme88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.21 2001/09/28 20:46:09 miod Exp $ */
+/* $OpenBSD: param.h,v 1.22 2001/11/30 17:45:07 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1988 University of Utah.
@@ -40,7 +40,6 @@
* from: Utah $Hdr: machparam.h 1.11 89/08/14$
*
* @(#)param.h 7.8 (Berkeley) 6/28/91
- * $Id: param.h,v 1.21 2001/09/28 20:46:09 miod Exp $
*/
#ifndef _MACHINE_PARAM_H_
#define _MACHINE_PARAM_H_
@@ -81,10 +80,6 @@
#define NPTEPG (PAGE_SIZE / (sizeof(u_int)))
-#define SEGSHIFT 22 /* LOG2(NBSEG) */
-#define NBSEG (1 << SEGSHIFT) /* bytes/segment */
-#define SEGOFSET (NBSEG - 1) /* byte offset into segment */
-
/*
* 187 Bug uses the bottom 64k. We allocate ptes to map this into the
* kernel. But when we link the kernel, we tell it to start linking