From: Geert Uytterhoeven Date: Sun, 18 May 2008 18:47:13 +0000 (+0200) Subject: m68k: Correct jump if not running on HP300 X-Git-Tag: v2.6.26-rc3~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f365e8ee90bf835553ea964ba5accf5b8ba4070;p=linux-2.6 m68k: Correct jump if not running on HP300 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 Signed-off-by: Linus Torvalds --- diff --git a/arch/m68k/kernel/head.S b/arch/m68k/kernel/head.S index faa6764f1d..f513f530de 100644 --- 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. */