summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-26 05:04:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-26 05:04:11 +0000
commitc5fbd60f510a5447967b9a23e7708aeffd4143c2 (patch)
treea10a51fa6585376192c0444bc0941826d79e19e5 /sys/arch/alpha
parent1369a0b270eb7aee73a4b6dea829500aa56948c2 (diff)
PGSHIFT and PGOFSET are now contained inside the kernel namespace.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/include/param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/include/param.h b/sys/arch/alpha/include/param.h
index 9a23f0dd28b..83e2b2076da 100644
--- a/sys/arch/alpha/include/param.h
+++ b/sys/arch/alpha/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.38 2013/03/25 17:46:24 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.39 2013/03/26 05:04:08 deraadt Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -50,14 +50,14 @@
#define PAGE_SHIFT 13
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
-#define PGSHIFT PAGE_SHIFT /* LOG2(PAGE_SIZE) */
-#define PGOFSET PAGE_MASK /* byte offset into page */
#define KERNBASE 0xfffffc0000580000 /* start of kernel virtual */
#ifdef _KERNEL
#define NBPG PAGE_SIZE /* bytes/page */
+#define PGSHIFT PAGE_SHIFT /* LOG2(PAGE_SIZE) */
+#define PGOFSET PAGE_MASK /* byte offset into page */
#define UPAGES 2 /* pages of u-area */
#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */