linux-sg2042/drivers/sbus/char
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
..
Kconfig [SPARC64]: Use drivers/Kconfig 2005-08-30 21:46:19 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
aurora.c [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
aurora.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bbc_envctrl.c [SPARC64]: Use in-kernel PROM tree for EBUS and ISA. 2006-06-23 23:15:28 -07:00
bbc_i2c.c [SPARC64]: Use in-kernel PROM tree for EBUS and ISA. 2006-06-23 23:15:28 -07:00
bbc_i2c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bpp.c [SPARC] drivers/sbus: fix-up schedule_timeout() usage 2005-09-12 14:16:17 -07:00
cd180.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpwatchdog.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
display7seg.c [SPARC64]: Use in-kernel PROM tree for EBUS and ISA. 2006-06-23 23:15:28 -07:00
envctrl.c [SPARC64]: Use in-kernel PROM tree for EBUS and ISA. 2006-06-23 23:15:28 -07:00
flash.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
jsflash.c [PATCH] sparc: jsflash __user annotations 2005-12-15 10:01:28 -08:00
max1617.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
openprom.c [SPARC64]: Convert sparc64 PCI layer to in-kernel device tree. 2006-06-23 23:15:26 -07:00
riowatchdog.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rtc.c [SPARC]: Fix RTC compat ioctl kernel log spam. 2005-11-12 12:10:54 -08:00
uctrl.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
vfc.h [PATCH] sparc: vfc __iomem annotations and fixes 2005-12-15 10:01:28 -08:00
vfc_dev.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
vfc_i2c.c [SPARC] drivers/sbus: fix-up schedule_timeout() usage 2005-09-12 14:16:17 -07:00
vfc_i2c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00