diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/genhd.h | 6 | ||||
-rw-r--r-- | include/linux/sched.h | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index f589559cf070..4c03ee353e78 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) | |||
434 | 434 | ||
435 | #endif | 435 | #endif |
436 | 436 | ||
437 | #endif | 437 | #else /* CONFIG_BLOCK */ |
438 | |||
439 | static inline void printk_all_partitions(void) { } | ||
440 | |||
441 | #endif /* CONFIG_BLOCK */ | ||
438 | 442 | ||
439 | #endif | 443 | #endif |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 97c0c7da58ef..a81897e2a244 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -88,6 +88,7 @@ struct sched_param { | |||
88 | 88 | ||
89 | struct exec_domain; | 89 | struct exec_domain; |
90 | struct futex_pi_state; | 90 | struct futex_pi_state; |
91 | struct bio; | ||
91 | 92 | ||
92 | /* | 93 | /* |
93 | * List of flags we want to share for kernel threads, | 94 | * List of flags we want to share for kernel threads, |
@@ -1016,6 +1017,9 @@ struct task_struct { | |||
1016 | /* journalling filesystem info */ | 1017 | /* journalling filesystem info */ |
1017 | void *journal_info; | 1018 | void *journal_info; |
1018 | 1019 | ||
1020 | /* stacked block device info */ | ||
1021 | struct bio *bio_list, **bio_tail; | ||
1022 | |||
1019 | /* VM state */ | 1023 | /* VM state */ |
1020 | struct reclaim_state *reclaim_state; | 1024 | struct reclaim_state *reclaim_state; |
1021 | 1025 | ||