From c9c6f2ad62c7dc337bb55e2e78229fb6af68571b Mon Sep 17 00:00:00 2001 From: kettenis Date: Sat, 24 Jul 2010 14:30:04 +0000 Subject: [PATCH] Fix PTE_PAGE(). --- sys/arch/hppa64/include/pte.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/hppa64/include/pte.h b/sys/arch/hppa64/include/pte.h index 4440b2da827..31f93949320 100644 --- a/sys/arch/hppa64/include/pte.h +++ b/sys/arch/hppa64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */ +/* $OpenBSD: pte.h,v 1.2 2010/07/24 14:30:04 kettenis Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -28,7 +28,7 @@ #define PDE_SHIFT (PTE_SHIFT+9) #define PTE_MASK (0x000001ff000UL) #define PTE_SHIFT PAGE_SHIFT -#define PTE_PAGE(pte) (((pte) & ~PTE_PGMASK) << 7) +#define PTE_PAGE(pte) (((pte) & PTE_PGMASK) << 7) #define TLB_PAGE(pg) (((pg) >> 7) & PTE_PGMASK) #define PTE_IFLUSH 0x8000000000000000UL /* software */ -- 2.20.1