summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-12 16:28:54 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-12 16:28:54 +0000
commitbb35e57481616046fd1121242f7636192a320ca4 (patch)
tree0ebe728808560bbba54afc2ee75d7d3db31d58df /sys/arch
parent463042148b47db3f06413bdd25431b93d68b5c0a (diff)
no need to zero out the page offset in pmap_hash, it'd already been done
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/hppa/pmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c
index 5e4127f01ce..2f6225cd158 100644
--- a/sys/arch/hppa/hppa/pmap.c
+++ b/sys/arch/hppa/hppa/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.58 2002/02/08 03:49:21 mickey Exp $ */
+/* $OpenBSD: pmap.c,v 1.59 2002/02/12 16:28:53 mickey Exp $ */
/*
* Copyright (c) 1998-2001 Michael Shalayeff
@@ -223,7 +223,6 @@ pmap_hash(pa_space_t sp, vaddr_t va)
__asm __volatile (
"extru %2, 23, 20, %%r22\n\t" /* r22 = (va >> 8) */
"zdep %1, 22, 16, %%r23\n\t" /* r23 = (sp << 9) */
- "dep %%r0, 31, 4, %%r22\n\t" /* r22 &= ~0xf */
"xor %%r22,%%r23, %%r23\n\t" /* r23 ^= r22 */
"mfctl %%cr24, %%r22\n\t" /* r22 = sizeof(HPT)-1 */
"and %%r22,%%r23, %%r23\n\t" /* r23 &= r22 */