android_kernel_xiaomi_sm8350/arch/sh/boot/compressed
Matt Fleming 8bd642b17b sh: Obliterate the P1 area macros
Replace the use of PHYSADDR() with __pa(). PHYSADDR() is based on the
idea that all addresses in P1SEG are untranslated, so we can access an
address's physical page as an offset from P1SEG. This doesn't work for
CONFIG_PMB/CONFIG_PMB_FIXED because pages in P1SEG and P2SEG are used
for PMB mappings and so can be translated to any physical address.

Likewise, replace a P1SEGADDR() use with virt_to_phys().

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-10-10 21:51:02 +09:00
..
.gitignore sh: bzip2/lzma zImage support. 2009-07-11 13:21:19 -04:00
cache.c
head_32.S sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
head_64.S
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
Makefile Merge branches 'sh/compressors' and 'sh/stable-updates' 2009-07-21 17:37:18 +09:00
misc.c sh: Obliterate the P1 area macros 2009-10-10 21:51:02 +09:00
vmlinux.scr sh: bzip2/lzma zImage support. 2009-07-11 13:21:19 -04:00