diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-03-16 21:55:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 09:37:30 -0700 |
commit | da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1 (patch) | |
tree | 172df2771cbfbb8501aaf6e04c34b4fc1b3c7cca /include | |
parent | 1653268b1b538981df9bb85d637456530938be6c (diff) | |
download | op-kernel-dev-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.zip op-kernel-dev-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.tar.gz |
devtmpfs: support !CONFIG_TMPFS
Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS,
using ramfs instead.
Saves ~15KB.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ramfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ramfs.h b/include/linux/ramfs.h index 4e768dd..8600508 100644 --- a/include/linux/ramfs.h +++ b/include/linux/ramfs.h @@ -20,4 +20,6 @@ extern const struct file_operations ramfs_file_operations; extern const struct vm_operations_struct generic_file_vm_ops; extern int __init init_rootfs(void); +int ramfs_fill_super(struct super_block *sb, void *data, int silent); + #endif |