android_kernel_xiaomi_sm8350/arch/mips/mm
Franck Bui-Huu 99e3b942c6 [MIPS] page.h: remove __pa() usages.
__pa() was used by virt_to_page() and virt_addr_valid(). These
latter are used when kernel is initialised so __pa() is not
appropriate, we use virt_to_phys() instead.

Futhermore __pa() is going to take care of CKSEG0/XKPHYS
address mix for 64 bit kernels. This makes __pa() more complex
than virt_to_phys() and this extra work is not needed by
virt_to_page() and virt_addr_valid().

Eventually it consolidates virt_to_phys() prototype by making
its argument 'const'. this avoids some warnings that was due
to some virt_to_page() usages which pass const pointer.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-11-30 01:14:40 +00:00
..
c-r3k.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
c-r4k.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
c-sb1.c [MIPS] Hack for SB1 cache issues 2006-11-22 23:34:01 +00:00
c-tx39.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
cache.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
cerr-sb1.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cex-gen.S
cex-sb1.S
dma-coherent.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dma-ip27.c
dma-ip32.c
dma-noncoherent.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
extable.c
fault.c [PATCH] pidspace: is_init() 2006-09-29 09:18:12 -07:00
highmem.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init.c [MIPS] page.h: remove __pa() usages. 2006-11-30 01:14:40 +00:00
ioremap.c [MIPS] Fix iounmap argument to const volatile. 2006-10-19 17:55:14 +01:00
Makefile
pg-r4k.c [MIPS] 16K & 64K page size fixes 2006-11-01 17:46:09 +00:00
pg-sb1.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pgtable-32.c [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
pgtable-64.c [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
pgtable.c [MIPS] sparsemem: fix crash in show_mem 2006-07-13 21:26:22 +01:00
sc-ip22.c
sc-mips.c [MIPS] MIPS32/MIPS64 S-cache fix and cleanup 2006-06-29 21:10:54 +01:00
sc-r5k.c
sc-rm7k.c
tlb-r3k.c
tlb-r4k.c [MIPS] Replace BARRIER with more appropriate hazard barrier. 2006-09-27 13:37:54 +01:00
tlb-r8k.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tlbex-fault.S [MIPS] Stacktrace build-fix and improvement 2006-10-01 23:16:58 +01:00
tlbex.c [MIPS] 16K & 64K page size fixes 2006-11-01 17:46:09 +00:00