summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-12-13 01:56:45 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-12-13 01:56:45 +0000
commit39715c4f1d6f2f9ec51e20590e7877990b09c090 (patch)
tree1274fd2ce644f4487ea0fb55637dc23604ac9c6b
parent88b74d1abf30a52a0effc5f63ec8e1790b690607 (diff)
nuke unused BTOPKERNBASE define
pointed out by miod@
-rw-r--r--sys/arch/alpha/include/param.h3
-rw-r--r--sys/arch/amd64/include/param.h3
-rw-r--r--sys/arch/hppa/include/param.h3
-rw-r--r--sys/arch/hppa64/include/param.h3
-rw-r--r--sys/arch/i386/include/param.h3
-rw-r--r--sys/arch/m68k/include/param.h4
-rw-r--r--sys/arch/mips64/include/param.h3
7 files changed, 7 insertions, 15 deletions
diff --git a/sys/arch/alpha/include/param.h b/sys/arch/alpha/include/param.h
index 7a4b78ecfdf..5980544e36f 100644
--- a/sys/arch/alpha/include/param.h
+++ b/sys/arch/alpha/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.28 2005/10/28 19:10:26 martin Exp $ */
+/* $OpenBSD: param.h,v 1.29 2005/12/13 01:56:43 martin Exp $ */
/* $NetBSD: param.h,v 1.30 2000/06/09 16:03:04 thorpej Exp $ */
/*
@@ -75,7 +75,6 @@
#define PAGE_MASK (PAGE_SIZE - 1)
#define KERNBASE 0xfffffc0000230000 /* start of kernel virtual */
-#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
diff --git a/sys/arch/amd64/include/param.h b/sys/arch/amd64/include/param.h
index 5e9706a6a62..0f08dea7a90 100644
--- a/sys/arch/amd64/include/param.h
+++ b/sys/arch/amd64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.10 2005/12/13 00:18:19 jsg Exp $ */
+/* $OpenBSD: param.h,v 1.11 2005/12/13 01:56:43 martin Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -75,7 +75,6 @@
#define KERNBASE 0xffffffff80000000 /* start of kernel virtual space */
#define KERNTEXTOFF (KERNBASE+0x100000) /* start of kernel text */
-#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
#define KERNTEXTOFF_HI 0xffffffff
#define KERNTEXTOFF_LO 0x80100000
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h
index 705d94261ef..bf39da3f49d 100644
--- a/sys/arch/hppa/include/param.h
+++ b/sys/arch/hppa/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.28 2005/11/28 20:13:08 martin Exp $ */
+/* $OpenBSD: param.h,v 1.29 2005/12/13 01:56:43 martin Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -54,7 +54,6 @@
#define PGSHIFT 12 /* LOG2(NBPG) */
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
diff --git a/sys/arch/hppa64/include/param.h b/sys/arch/hppa64/include/param.h
index e9464489e7d..db6ca6c145e 100644
--- a/sys/arch/hppa64/include/param.h
+++ b/sys/arch/hppa64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.5 2005/11/28 20:13:08 martin Exp $ */
+/* $OpenBSD: param.h,v 1.6 2005/12/13 01:56:43 martin Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -53,7 +53,6 @@
#define PGSHIFT 12 /* LOG2(NBPG) */
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define BTOPKERNBASE ((u_long)KERNBASE >> PAGE_SHIFT)
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index 07734936624..e9e1d5cd572 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.32 2005/11/23 15:57:33 mickey Exp $ */
+/* $OpenBSD: param.h,v 1.33 2005/12/13 01:56:43 martin Exp $ */
/* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */
/*-
@@ -84,7 +84,6 @@
#define KERNBASE 0xd0000000
#define KERNTEXTOFF (KERNBASE+0x100000) /* start of kernel text */
-#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
#define DEV_BSIZE (1 << DEV_BSHIFT)
diff --git a/sys/arch/m68k/include/param.h b/sys/arch/m68k/include/param.h
index 30ab5eea064..20b3b7fd3ea 100644
--- a/sys/arch/m68k/include/param.h
+++ b/sys/arch/m68k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.16 2005/11/12 23:14:03 miod Exp $ */
+/* $OpenBSD: param.h,v 1.17 2005/12/13 01:56:43 martin Exp $ */
/* $NetBSD: param.h,v 1.2 1997/06/10 18:21:23 veego Exp $ */
/*
@@ -67,8 +67,6 @@
#define PGOFSET (NBPG-1) /* byte offset into page */
#define NPTEPG (NBPG/(sizeof (pt_entry_t)))
-#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
-
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
#define DEV_BSIZE (1 << DEV_BSHIFT)
#define BLKDEV_IOSIZE 2048
diff --git a/sys/arch/mips64/include/param.h b/sys/arch/mips64/include/param.h
index 93fec9fa6ab..e586e32f5e6 100644
--- a/sys/arch/mips64/include/param.h
+++ b/sys/arch/mips64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.10 2005/11/06 10:26:56 martin Exp $ */
+/* $OpenBSD: param.h,v 1.11 2005/12/13 01:56:44 martin Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -76,7 +76,6 @@
#else
#define KERNBASE 0x80000000 /* start of kernel virtual */
#endif
-#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
#define DEV_BSIZE (1 << DEV_BSHIFT)