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>
This commit is contained in:
Peter Korsgaard 2010-03-16 21:55:21 +01:00 committed by Greg Kroah-Hartman
parent 1653268b1b
commit da5e4ef7fd
4 changed files with 13 additions and 3 deletions

View file

@ -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