diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-10-20 18:37:27 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2013-10-20 18:48:33 +0200 |
commit | b4cb0b594d55c09a54fc76d26834e38598518dd2 (patch) | |
tree | b6a8c92eae5b331362f4a6ccde353828483dccfb /include/asm-powerpc/exception.h | |
parent | da688d3e640d3db1f1226e70cb2b8c115a79febb (diff) |
drm: zap mmaps for dead devicesdrmrevoke
Once a DRM device is unregistered, user-space must not access any existing
mmaps, anymore. As we cannot rely on this, we now zap all of them in
drm_dev_unregister().
Any driver which wants to support that needs to protect their fault()
and mmap() handlers via drm_dev_get_active(), otherwise users can create
new mmaps after/during drm_dev_unregister().
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'include/asm-powerpc/exception.h')
0 files changed, 0 insertions, 0 deletions