mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 06:41:43 +00:00
244eae91a9
Recent tightening of the opcode table in binutils so as to consistently
disallow the assembly or disassembly of CP0 instructions not supported
by the processor architecture chosen has caused a regression like below:
arch/mips/dec/prom/locore.S: Assembler messages:
arch/mips/dec/prom/locore.S:29: Error: opcode not supported on this processor: r4600 (mips3) `rfe'
in a piece of code used to probe for memory with PMAX DECstation models,
which have non-REX firmware. Those computers always have an R2000 CPU
and consequently the exception handler used in memory probing uses the
RFE instruction, which those processors use.
While adding 64-bit support this code was correctly excluded for 64-bit
configurations, however it should have also been excluded for irrelevant
32-bit configurations. Do this now then, and only enable PMAX memory
probing for R3k systems.
Reported-by: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Fixes:
|
||
---|---|---|
.. | ||
prom | ||
ecc-berr.c | ||
int-handler.S | ||
ioasic-irq.c | ||
kn01-berr.c | ||
kn02-irq.c | ||
kn02xa-berr.c | ||
Makefile | ||
Platform | ||
platform.c | ||
reset.c | ||
setup.c | ||
tc.c | ||
time.c | ||
wbflush.c |