fb-defio: If FBINFO_VIRTFB is defined, do not set VM_IO flag.
commit7164bb4393cef668d3da281fa1c599a6673ea768
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 3 Dec 2009 15:31:56 +0000 (3 10:31 -0500)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 4 Dec 2009 01:30:02 +0000 (3 17:30 -0800)
treedddab675372695c8b1a080be0df9d0cf62d8e150
parentba69ea42f8ba8286cbe0e939bd1ce781b7905b84
fb-defio: If FBINFO_VIRTFB is defined, do not set VM_IO flag.

Most users (except sh_mobile_lcdcfb.c) get their framebuffer from
vmalloc. Setting VM_IO is not necessary as the memory obtained
from vmalloc is System RAM type and is not susceptible to PCI memory
constraints.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Jaya Kumar <jayakumar.lkml@gmail.com>
drivers/video/fb_defio.c
include/linux/fb.h