Skip to content

Commit

Permalink
m68k: Correct jump if not running on HP300
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
geertu authored and torvalds committed May 18, 2008
1 parent e8006b0 commit 3f365e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/kernel/head.S
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 3f365e8

Please sign in to comment.