android_kernel_motorola_sm6225/arch/powerpc
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
..
boot Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-06-22 22:11:30 -07:00
configs [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts 2006-06-21 15:01:31 +10:00
kernel [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
lib [POWERPC] Optimise some TOC usage 2006-06-15 19:31:25 +10:00
math-emu powerpc: move math-emu over to arch/powerpc 2006-03-27 23:43:27 -06:00
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-06-22 22:11:30 -07:00
oprofile [POWERPC] re-enable OProfile for iSeries, using timer interrupt 2006-06-21 15:01:33 +10:00
platforms [PATCH] remove for_each_cpu() 2006-06-25 10:00:54 -07:00
sysdev Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-06-22 22:11:30 -07:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig [PATCH] clean up default value of SCHED_SMT 2006-06-23 07:43:03 -07:00
Kconfig.debug [PATCH] powerpc: Make early debugging options behave with oldconfig 2006-05-19 14:35:23 +10:00
Makefile [POWERPC] Remove stale 64bit on 32bit kernel code 2006-06-15 19:31:26 +10:00