#include <linux/kernel.h> #include <linux/blkdev.h> #include <linux/init.h> #include <linux/syscalls.h> #include <linux/unistd.h> #include <linux/slab.h> #include <linux/mount.h> #include <linux/major.h> #include <linux/root_dev.h> void change_floppy(char *fmt, ...); void mount_block_root(char *name, int flags); void mount_root(void); extern int root_mountflags; static inline int create_dev(char *name, dev_t dev) { sys_unlink(name); return sys_mknod(name, S_IFBLK|0600, new_encode_dev(dev)); } #if BITS_PER_LONG == 32 static inline u32 bstat(char *name) { struct stat64 stat; if (sys_stat64(name, &stat) != 0) return 0; if (!S_ISBLK(stat.st_mode)) return 0; if (stat.st_rdev != (u32)stat.st_rdev) return 0; return stat.st_rdev; } #else static inline u32 bstat(char *name) { struct stat stat; if (sys_newstat(name, &stat) != 0) return 0; if (!S_ISBLK(stat.st_mode)) return 0; return stat.st_rdev; } #endif #ifdef CONFIG_BLK_DEV_RAM int __init rd_load_disk(int n); int __init rd_load_image(char *from); #else static inline int rd_load_disk(int n) { return 0; } static inline int rd_load_image(char *from) { return 0; } #endif #ifdef CONFIG_BLK_DEV_INITRD bool __init initrd_load(void); #else static inline bool initrd_load(void) { return false; } #endif #ifdef CONFIG_BLK_DEV_MD void md_run_setup(void); #else static inline void md_run_setup(void) {} #endif -next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/isa/wss/Makefile?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/isa/wss/Makefile?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/isa/wss/Makefile?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/isa/wss/Makefile?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/isa/wss/Makefile'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/isa?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>isa</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/isa/wss?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>wss</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/isa/wss/Makefile?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973'>Makefile</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/isa/wss/Makefile?h=nds-private-remove&id=5aff1d245e8cc1ab5c4517d916edaed9e3f7f973&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>