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)
commitf1a1b63529986d0c8970da182f0935eae059421b
tree00a39ade70757ff41413c2d9a24d4545dc5fe3f1
parentcd3de83f147601356395b57a8673e9c5ff1e59d1
m68k: Fix boot regression on machines with RAM at non-zero

My enhancement to store the initial mapping size for later reuse in commit
486df8bc4627bdfc032d11bedcd056cc5343ee62 ("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