summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2007-07-20 19:48:16 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2007-07-20 19:48:16 +0000
commitb786b3f9acb91d67ba44bdbadf1c89d9f4b57d70 (patch)
tree7beed8ce1e23e64a1faefdf1c859990261a342ce /sys/arch
parent36e76267bbcfb3b86320994c825134f95338500d (diff)
More code that tests for CPUCLASS_386 that can go away. Pointed out by
Charles Longeau, thanks. Fix an indentation nit while there. ok toby
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/pmapae.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/i386/i386/pmapae.c b/sys/arch/i386/i386/pmapae.c
index 35848230f70..09b61eff209 100644
--- a/sys/arch/i386/i386/pmapae.c
+++ b/sys/arch/i386/i386/pmapae.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmapae.c,v 1.12 2007/04/19 16:15:41 art Exp $ */
+/* $OpenBSD: pmapae.c,v 1.13 2007/07/20 19:48:15 mk Exp $ */
/*
* Copyright (c) 2006 Michael Shalayeff
@@ -1146,10 +1146,9 @@ pmap_zero_page_uncached_pae(paddr_t pa)
panic("pmap_zero_page_uncached: lock botch");
#endif
- *zpte = (pa & PG_FRAME) | PG_V | PG_RW | /* map in */
- ((cpu_class != CPUCLASS_386) ? PG_N : 0);
+ *zpte = (pa & PG_FRAME) | PG_V | PG_RW | PG_N); /* map in */
pmap_update_pg((vaddr_t)zerova); /* flush TLB */
- pagezero(zerova, PAGE_SIZE); /* zero */
+ pagezero(zerova, PAGE_SIZE); /* zero */
*zpte = 0; /* zap! */
return (TRUE);