summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2006-10-16 21:21:01 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2006-10-16 21:21:01 +0000
commit45697e39df9ecad494663eedef139d6b642d0798 (patch)
tree7d1b26f92f2e8edd1cab89503df064d472bcedf8
parent3bc285ffc6a40b59756a81be5b84e38a94cd4835 (diff)
Do not zero bss in the kernel, the bootloader does this for us and it causes
a problem loading the kernel.
-rw-r--r--sys/arch/landisk/landisk/machdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c
index 4105803f890..9b376e7c639 100644
--- a/sys/arch/landisk/landisk/machdep.c
+++ b/sys/arch/landisk/landisk/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.2 2006/10/06 21:48:50 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.3 2006/10/16 21:21:00 drahn Exp $ */
/* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
@@ -131,11 +131,6 @@ char *esym;
__dead void
landisk_startup(int howto, char *_esym, void *bi)
{
- extern char edata[], end[];
-
- /* Clear bss */
- bzero(edata, end - edata);
-
/* Start to determine heap area */
esym = _esym;
kernend = (vaddr_t)round_page((vaddr_t)esym);