]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/blackfin/kernel/early_printk.c
Merge git://git.infradead.org/users/cbou/battery-2.6.26
[linux-2.6-omap-h63xx.git] / arch / blackfin / kernel / early_printk.c
index 724f4a5a1d46b3339bdc9047750eb7dffc3e7470..60f67f90fe35e7b81c2b349d2733c78c9ed16fd0 100644 (file)
@@ -187,7 +187,7 @@ asmlinkage void __init init_early_exception_vectors(void)
        bfin_write_EVT15(early_trap);
        CSYNC();
 
-       /* Set all the return from interupt, exception, NMI to a known place
+       /* Set all the return from interrupt, exception, NMI to a known place
         * so if we do a RETI, RETX or RETN by mistake - we go somewhere known
         * Note - don't change RETS - we are in a subroutine, or
         * RETE - since it might screw up if emulator is attached
@@ -205,7 +205,7 @@ asmlinkage void __init early_trap_c(struct pt_regs *fp, void *retaddr)
        if (likely(early_console == NULL))
                setup_early_printk(DEFAULT_EARLY_PORT);
 
-       dump_bfin_mem((void *)fp->retx);
+       dump_bfin_mem(fp);
        show_regs(fp);
        dump_bfin_trace_buffer();