lkml.org 
[lkml]   [2008]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 07/18] m68k: Correct jump if not running on HP300
    From: Geert Uytterhoeven <geert@linux-m68k.org>

    When running a HP300-enabled kernel on non-HP300 hardware, a test in the early
    startup code jumps to the wrong label, causing a double bus fault.

    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    ---
    arch/m68k/kernel/head.S | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/arch/m68k/kernel/head.S
    +++ b/arch/m68k/kernel/head.S
    @@ -1434,7 +1434,7 @@ L(mmu_fixup_done):
    #endif

    #ifdef CONFIG_HP300
    - is_not_hp300(1f)
    + is_not_hp300(2f)
    /*
    * Fix up the iobase register to point to the new location of the LEDs.
    */
    --
    Gr{oetje,eeting}s,
    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    -- Linus Torvalds



    \
     
     \ /
      Last update: 2008-05-18 21:05    [W:0.023 / U:88.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site