android_kernel_xiaomi_sm8350/arch/ppc/kernel
Christoph Lameter 68402ddc67 [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM
Remove VM_LOCKED before remap_pfn range from device drivers and get rid of
VM_SHM.

remap_pfn_range() already sets VM_IO.  There is no need to set VM_SHM since
it does nothing.  VM_LOCKED is of no use since the remap_pfn_range does not
place pages on the LRU.  The pages are therefore never subject to swap
anyways.  Remove all the vm_flags settings before calling remap_pfn_range.

After removing all the vm_flag settings no use of VM_SHM is left.  Drop it.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-25 10:00:55 -07:00
..
asm-offsets.c ppc: Fix typo in TI_LOCAL_FLAGS definition 2006-05-29 08:42:34 +10:00
cpu_setup_power4.S
dma-mapping.c [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
entry.S [PATCH] ppc: Fix powersave code on arch/ppc 2006-04-21 22:33:22 +10:00
head_4xx.S
head_8xx.S [PATCH] ppc32/8xx: Fix r3 trashing due to 8MB TLB page instantiation 2006-05-09 16:03:11 +10:00
head_44x.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
head_booke.h [PATCH] ppc32: fix ppc44x fpu build 2005-11-10 11:24:06 +11:00
head_fsl_booke.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
head.S ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc 2006-03-28 10:22:10 +11:00
machine_kexec.c [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers 2006-01-10 08:01:26 -08:00
Makefile powerpc: Don't compile in arch/ppc/kernel for 32-bit ARCH=powerpc 2006-03-27 20:17:06 +11:00
misc.S ppc: Use the system call table from arch/powerpc/kernel/systbl.S 2006-02-10 16:02:20 +11:00
pci.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
ppc_htab.c Merge ../linux-2.6 2006-03-29 13:24:50 +11:00
ppc_ksyms.c powerpc/ppc: export strncasecmp 2006-04-02 16:01:58 -05:00
ppc-stub.c
relocate_kernel.S
rio.c
semaphore.c
setup.c [PATCH] for_each_possible_cpu: ppc 2006-03-29 13:44:16 +11:00
smp-tbsync.c [PATCH] kzalloc() conversion in arch/ppc 2006-03-17 13:20:57 +11:00
smp.c [PATCH] for_each_possible_cpu: ppc 2006-03-29 13:44:16 +11:00
softemu8xx.c
time.c
traps.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
vmlinux.lds.S