From c5fbd60f510a5447967b9a23e7708aeffd4143c2 Mon Sep 17 00:00:00 2001
From: Theo de Raadt <deraadt@cvs.openbsd.org>
Date: Tue, 26 Mar 2013 05:04:11 +0000
Subject: PGSHIFT and PGOFSET are now contained inside the kernel namespace.

---
 sys/arch/sparc64/include/param.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'sys/arch/sparc64/include')

diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h
index 7c8a30bbbf2..d90139c3fd3 100644
--- a/sys/arch/sparc64/include/param.h
+++ b/sys/arch/sparc64/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:10 deraadt Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -73,8 +73,6 @@
 #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 */
 
 /*
  * Here are all the magic kernel virtual addresses and how they're allocated.
@@ -130,6 +128,8 @@
 #define	CPUINFO_VA	(    EINTSTACK)
 
 #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 */
-- 
cgit v1.2.3