projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d89d879
)
Fix compile/link of init/do_mounts.c with !CONFIG_BLOCK
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 11 May 2007 11:29:54 +0000
(13:29 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 11 May 2007 11:29:54 +0000
(13:29 +0200)
We need a stub function for when CONFIG_BLOCK isn't set.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/genhd.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/genhd.h
b/include/linux/genhd.h
index f589559cf0709586d1f126f92ebbbbca9cefa53b..4c03ee353e78684f64fd230101c7eab150860d79 100644
(file)
--- 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