diff options
| author | 2012-06-14 00:21:40 +0200 | |
|---|---|---|
| committer | 2012-06-13 17:13:22 -0700 | |
| commit | 95649c425fa2805b76f183c27aeed93f159e47cc (patch) | |
| tree | fd0507659f28a91413b866c9960ebc9f300fde1b /scripts | |
| parent | staging/xgifb: Remove assignments without effect (diff) | |
staging/xgifb: Add mutext for fb_mmap locking
This adds a mutex for fb_mmap around smem_start and smem_len
so the mutex inside the fb_mmap() is actually used. Changing of
these fields before calling the framebuffer_register() are not mutexed.
We check whether framebuffer_register has been called by reading
fbinfo->count.
See 537a1bf0 - "fbdev: add mutex for fb_mmap locking" by Krzysztof Helt
for details.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
