]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Fix CONFIG_BUILD_ELF64 kernels with symbols in CKSEG0.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 11 Sep 2007 07:50:40 +0000 (08:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 28 Sep 2007 18:27:20 +0000 (19:27 +0100)
commit0bd66caceac42f5eca2687ca325a750e6f6f464b
tree9e266ca9eb00fa349c47d52d4ca9fe3902b8feee
parented109b0794918e54872c498070f91ee6e71be842
[MIPS] Fix CONFIG_BUILD_ELF64 kernels with symbols in CKSEG0.

The __pa() for those did assume that all symbols have XKPHYS values and
the math fails for any other address range.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/page.h