]> git.ozlabs.org Git - yaboot.git/blobdiff - second/yaboot.c
Remove second zero of BSS
[yaboot.git] / second / yaboot.c
index 765c7bf46618d47a4d67872349360ac70461c147..b02070e5c60ca80b539cdb1170d690b4eb210072 100644 (file)
@@ -167,11 +167,6 @@ extern unsigned char linux_logo_blue[];
 
 #define DEFAULT_TIMEOUT                -1
 
-/* Entry, currently called directly by crt0 (bss not inited) */
-
-extern char* __bss_start;
-extern char* _end;
-
 int
 yaboot_start (unsigned long r3, unsigned long r4, unsigned long r5)
 {
@@ -179,9 +174,6 @@ yaboot_start (unsigned long r3, unsigned long r4, unsigned long r5)
      void* malloc_base = NULL;
      prom_handle root;
 
-     /* OF seems to do it, but I'm not very confident */
-     memset(&__bss_start, 0, &_end - &__bss_start);
-
      /* Initialize OF interface */
      prom_init ((prom_entry) r5);