summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-02-27 06:05:24 +0000
committerpeter <peter@FreeBSD.org>2002-02-27 06:05:24 +0000
commit1b62fa07e3742c29ae1c22a1cf05ba36da290b79 (patch)
treea565d22db2ab7c5c3becfb53fb0a2daed0e9e64e /sys
parent943268c4b59204c4da9bf59bbf7fe3e1f3c2db65 (diff)
downloadFreeBSD-src-1b62fa07e3742c29ae1c22a1cf05ba36da290b79.zip
FreeBSD-src-1b62fa07e3742c29ae1c22a1cf05ba36da290b79.tar.gz
Bandaid for the Uniprocessor kernel exploding. This makes a UP kernel
boot and run (and indeed I am committing from it) instead of exploding during the int 0x15 call from inside the atkbd driver to get the keyboard repeat rates.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/pmap.c2
-rw-r--r--sys/i386/i386/pmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 1ca43e1..a18d0da 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -369,7 +369,7 @@ pmap_bootstrap(firstaddr, loadaddr)
PTD[i] = 0;
pgeflag = 0;
-#if !defined(SMP) || defined(ENABLE_PG_G)
+#if /* !defined(SMP) || */ defined(ENABLE_PG_G)
if (cpu_feature & CPUID_PGE)
pgeflag = PG_G;
#endif
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 1ca43e1..a18d0da 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -369,7 +369,7 @@ pmap_bootstrap(firstaddr, loadaddr)
PTD[i] = 0;
pgeflag = 0;
-#if !defined(SMP) || defined(ENABLE_PG_G)
+#if /* !defined(SMP) || */ defined(ENABLE_PG_G)
if (cpu_feature & CPUID_PGE)
pgeflag = PG_G;
#endif
OpenPOWER on IntegriCloud