summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-04-22 00:56:32 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-04-22 00:56:32 +0000
commit05c9ccded71801413d2cd881b8fe5f060b834588 (patch)
treee122b5fe4603262387539954cb226ae94ee00ef1
parent5ff8f2d34b38fb30c36b48abc2ce975f3b8abc2f (diff)
first we flush, then we advance
-rw-r--r--sys/arch/hppa/hppa/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c
index b8c37d49958..a0bf2056eef 100644
--- a/sys/arch/hppa/hppa/pmap.c
+++ b/sys/arch/hppa/hppa/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.71 2002/04/22 00:19:59 mickey Exp $ */
+/* $OpenBSD: pmap.c,v 1.72 2002/04/22 00:56:31 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -444,9 +444,9 @@ pmap_bootstrap(vstart)
kpm->pm_pid = HPPA_PID_KERNEL;
kpm->pm_pdir_pg = NULL;
kpm->pm_pdir = addr;
- addr += PAGE_SIZE;
bzero((void *)addr, PAGE_SIZE);
fdcache(HPPA_SID_KERNEL, addr, PAGE_SIZE);
+ addr += PAGE_SIZE;
/*
* Allocate various tables and structures.