diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-11-17 23:08:54 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-11-24 04:02:30 +0100 |
commit | 79cc304f3e2fda202242036326afb2aeca486156 (patch) | |
tree | c8bcdd91b36e8663b94911c6ac2481eadbe53bb0 /drivers/lguest | |
parent | drm/radeon/kms: Report vga connector is connected according to ddc_probe (diff) | |
download | linux-79cc304f3e2fda202242036326afb2aeca486156.tar.xz linux-79cc304f3e2fda202242036326afb2aeca486156.zip |
drm: make sure page protections are updated after changing vm_flags
Some architectures compute ->vm_page_prot depending on ->vm_flags, so we
need to update the protections after adjusting the flags.
AFAIK this only affects running X under Xen; without this patch you get
lots of coloured blobs on the screen, or maybe a complete lockup. Or
anything really.
But that still depends on lots of out-of-tree stuff, so I don't think
there are any consequences for anyone else. But it is wrong in principle.
Reported-by: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions