mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
blkio: fix for modular blk-cgroup build
After merging the block tree, 20100414's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "get_gendisk" [block/blk-cgroup.ko] undefined! ERROR: "sched_clock" [block/blk-cgroup.ko] undefined! This happens because the two symbols aren't exported and hence not available when blk-cgroup code is built as a module. I've tried to stay consistent with the use of EXPORT_SYMBOL or EXPORT_SYMBOL_GPL with the other symbols in the respective files. Signed-off-by: Divyesh Shah <[email protected]> Acked-by: Gui Jianfeng <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
c0d97e9ca2
commit
b6ac23af2c
2 changed files with 2 additions and 0 deletions
|
|
@ -596,6 +596,7 @@ struct gendisk *get_gendisk(dev_t devt, int *partno)
|
|||
|
||||
return disk;
|
||||
}
|
||||
EXPORT_SYMBOL(get_gendisk);
|
||||
|
||||
/**
|
||||
* bdget_disk - do bdget() by gendisk and partition number
|
||||
|
|
|
|||
Loading…
Reference in a new issue