diff options
author | David Howells <dhowells@redhat.com> | 2006-09-27 01:50:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 08:26:14 -0700 |
commit | 5da6185bca064e35aa73a7c1f27488d2b96434f4 (patch) | |
tree | b854ad2105e177d4b4ec4bb6a5ac26d41ebe368f /include/linux/cdev.h | |
parent | 0ec76a110f432e98277e464b82ace8dd66571689 (diff) | |
download | blackbird-op-linux-5da6185bca064e35aa73a7c1f27488d2b96434f4.tar.gz blackbird-op-linux-5da6185bca064e35aa73a7c1f27488d2b96434f4.zip |
[PATCH] NOMMU: Set BDI capabilities for /dev/mem and /dev/kmem
Set the backing device info capabilities for /dev/mem and /dev/kmem to
permit direct sharing under no-MMU conditions and full mapping capabilities
under MMU conditions. Make the BDI used by these available to all directly
mappable character devices.
Also comment the capabilities for /dev/zero.
[akpm@osdl.org: ifdef reductions]
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/cdev.h')
-rw-r--r-- | include/linux/cdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cdev.h b/include/linux/cdev.h index 2216638962d2..ee5f53f2ca15 100644 --- a/include/linux/cdev.h +++ b/include/linux/cdev.h @@ -23,5 +23,7 @@ void cdev_del(struct cdev *); void cd_forget(struct inode *); +extern struct backing_dev_info directly_mappable_cdev_bdi; + #endif #endif |