aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorScott Wood <[email protected]>2015-10-07 03:48:20 +0000
committerScott Wood <[email protected]>2015-10-27 23:13:29 +0000
commitffda09a9941c18d9f08d1176d55588d505f62912 (patch)
tree0d351c61ced2de8d1af8d2959201d90e41adcbe8 /lib/mpi/mpicoder.c
parentpowerpc/book3e-64/kexec: Enable SMP release (diff)
downloadkernel-ffda09a9941c18d9f08d1176d55588d505f62912.tar.gz
kernel-ffda09a9941c18d9f08d1176d55588d505f62912.zip
powerpc/booke: Only use VIRT_PHYS_OFFSET on booke32
The way VIRT_PHYS_OFFSET is not correct on book3e-64, because it does not account for CONFIG_RELOCATABLE other than via the 32-bit-only virt_phys_offset. book3e-64 can (and if the comment about a GCC miscompilation is still relevant, should) use the normal ppc64 __va/__pa. At this point, only booke-32 will use VIRT_PHYS_OFFSET, so given the issues with its calculation, restrict its definition to booke-32. Signed-off-by: Scott Wood <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions