]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Fix boot regression on machines with RAM at non-zero
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 8 Jul 2014 07:17:16 +0000 (09:17 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 10 Jul 2014 07:58:26 +0000 (09:58 +0200)
commit141e119ae75dd96d16d186613f8d3bc4b96771d6
tree00a39ade70757ff41413c2d9a24d4545dc5fe3f1
parentc74f42708e281e44423fe4210356c12f00e0e17e
m68k: Fix boot regression on machines with RAM at non-zero

My enhancement to store the initial mapping size for later reuse in commit
9836009a3c5b4bdcdbe7aa99c15d1cd8fe4afe6d ("m68k: Increase initial mapping
to 8 or 16 MiB if possible") broke booting on machines where RAM doesn't
start at address zero.

Use pc-relative addressing to fix this.

Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Andreas Schwab <schwab@linux-m68k.org>
arch/m68k/kernel/head.S