summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-02-03 21:46:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-02-03 21:46:43 +0000
commit21eae22d3081d4dc1046ec9932db3babb40c137d (patch)
treeefc49299465339d94c05147ea7d26406869777bc /sys/arch/loongson
parent5ab8692150b1c97db62bd43ca3c20fac51b9d38e (diff)
Remove memory limitation to the low 256MB. With the -mfix-loongson2f-btb
workaround in place, the kernel can make use of the whole memory without freezing.
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/loongson/machdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/loongson/loongson/machdep.c b/sys/arch/loongson/loongson/machdep.c
index 38bc9fcea9d..087b2c39bbf 100644
--- a/sys/arch/loongson/loongson/machdep.c
+++ b/sys/arch/loongson/loongson/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.6 2010/02/01 05:38:09 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.7 2010/02/03 21:46:42 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -325,10 +325,6 @@ mips_init(int32_t argc, int32_t argv, int32_t envp, int32_t cv)
break;
default:
case 0x2f:
-#define I_HEART_SCARY_ERRATA_FROM_HELL
-#ifdef I_HEART_SCARY_ERRATA_FROM_HELL
- memhi = 0;
-#endif
loongson2f_setup(memlo, memhi);
break;
}