diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2019-10-09 15:27:15 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-09 14:55:53 -0700 |
commit | 351889d356290554bf5d20d684244813a654afbe (patch) | |
tree | 889b69d1c16509a8033b1a5b706363ed98e16073 /mm/rodata_test.c | |
parent | 39b2d7565a4736a30c6eeb550901433b44aebf57 (diff) |
MIPS: fw: arc: workaround 64bit kernel/32bit ARC problems
Pointer arguments for 32bit ARC PROMs must reside in CKSEG0/1. While
the initial stack resides in CKSEG0 the first kernel thread stack
is already placed at a XKPHYS address, which ARC32 can't handle.
The workaround here is to use static variables, which are placed
into BSS and linked to a CKSEG0 address.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'mm/rodata_test.c')
0 files changed, 0 insertions, 0 deletions