Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=87c1efbfeac49849b981a7eac8cba42d4a49b2e9 Commit: 87c1efbfeac49849b981a7eac8cba42d4a49b2e9 Parent: d89d87965dcbe6fe4f96a2a7e8421b3a75f634d1 Author: Jens Axboe <[EMAIL PROTECTED]> AuthorDate: Fri May 11 13:29:54 2007 +0200 Committer: Jens Axboe <[EMAIL PROTECTED]> CommitDate: Fri May 11 13:29:54 2007 +0200
Fix compile/link of init/do_mounts.c with !CONFIG_BLOCK We need a stub function for when CONFIG_BLOCK isn't set. Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> --- include/linux/genhd.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/linux/genhd.h b/include/linux/genhd.h index f589559..4c03ee3 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -434,6 +434,10 @@ static inline struct block_device *bdget_disk(struct gendisk *disk, int index) #endif -#endif +#else /* CONFIG_BLOCK */ + +static inline void printk_all_partitions(void) { } + +#endif /* CONFIG_BLOCK */ #endif - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html