fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / arch / ppc / boot / simple / misc-embedded.c
index 8615d5f..10219ee 100644 (file)
@@ -6,7 +6,6 @@
  * Currently maintained by: Tom Rini <trini@kernel.crashing.org>
  */
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/string.h>
 #include <asm/bootinfo.h>
@@ -218,7 +217,7 @@ load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, bd_t *b
        puts("done.\n");
        {
                struct bi_record *rec;
-               unsigned long initrd_loc;
+               unsigned long initrd_loc = 0;
                unsigned long rec_loc = _ALIGN((unsigned long)(zimage_size) +
                                (1 << 20) - 1, (1 << 20));
                rec = (struct bi_record *)rec_loc;