diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/igafb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c index 6b88050d21bf..8a0c2d3d3805 100644 --- a/drivers/video/igafb.c +++ b/drivers/video/igafb.c | |||
@@ -232,9 +232,6 @@ static int igafb_mmap(struct fb_info *info, | |||
232 | 232 | ||
233 | size = vma->vm_end - vma->vm_start; | 233 | size = vma->vm_end - vma->vm_start; |
234 | 234 | ||
235 | /* To stop the swapper from even considering these pages. */ | ||
236 | vma->vm_flags |= (VM_SHM | VM_LOCKED); | ||
237 | |||
238 | /* Each page, see which map applies */ | 235 | /* Each page, see which map applies */ |
239 | for (page = 0; page < size; ) { | 236 | for (page = 0; page < size; ) { |
240 | map_size = 0; | 237 | map_size = 0; |