git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
video: deferred io cleanup
[safe/jmp/linux-2.6]
/
drivers
/
video
/
fb_defio.c
diff --git
a/drivers/video/fb_defio.c
b/drivers/video/fb_defio.c
index
e6dafed
..
06060cc
100644
(file)
--- a/
drivers/video/fb_defio.c
+++ b/
drivers/video/fb_defio.c
@@
-202,6
+202,9
@@
void fb_deferred_io_cleanup(struct fb_info *info)
page = vmalloc_to_page(screen_base + i);
page->mapping = NULL;
}
+
+ info->fbops->fb_mmap = NULL;
+ mutex_destroy(&fbdefio->lock);
}
EXPORT_SYMBOL_GPL(fb_deferred_io_cleanup);