linux/arch/mips
David Daney f6be75d03c MIPS: Calculate proper ebase value for 64-bit kernels
The ebase is relative to CKSEG0 not CAC_BASE.  On a 32-bit kernel they
are the same thing, for a 64-bit kernel they are not.

It happens to kind of work on a 64-bit kernel as they both reference
the same physical memory.  However since the CPU uses the CKSEG0 base,
determining if a J instruction will reach always gives the wrong result
unless we use the same number the CPU uses.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1093/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-04-12 17:26:22 +01:00
..
alchemy MIPS: Alchemy: DB1200: Remove custom wait implementation 2010-04-12 17:26:22 +01:00
ar7
bcm47xx
bcm63xx MIPS: BCM63xx: Fix build failure in board_bcm963xx.c 2010-04-12 17:26:20 +01:00
boot
cavium-octeon
cobalt
configs MIPS: Big Sur: Make defconfig more useful. 2010-04-12 17:26:22 +01:00
dec
emma MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00
fw
gt64120/wrppmc
include/asm MIPS: uasm: Add OR instruction. 2010-04-12 17:26:20 +01:00
jazz
kernel MIPS: Calculate proper ebase value for 64-bit kernels 2010-04-12 17:26:22 +01:00
lasat
lib MIPS: libgcc.h: Checkpatch cleanup 2010-04-12 17:26:15 +01:00
loongson
math-emu
mipssim
mm MIPS: Fix __vmalloc() etc. on MIPS for non-GPL modules 2010-04-12 17:26:21 +01:00
mti-malta
nxp
oprofile
pci
pmc-sierra
power
powertv
rb532
sgi-ip22
sgi-ip27
sgi-ip32
sibyte MIPS: Sibyte: Apply M3 workaround only on affected chip types and versions. 2010-04-12 17:26:19 +01:00
sni
txx9
vr41xx
Kconfig
Kconfig.debug
Makefile