From: Divyesh Shah Date: Thu, 15 Apr 2010 06:54:59 +0000 (+0200) Subject: blkio: fix for modular blk-cgroup build X-Git-Tag: v2.6.35-rc1~442^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ac23af2c66e114d3a87ef28d56f1ceec283007;p=pandora-kernel.git 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 Acked-by: Gui Jianfeng Signed-off-by: Jens Axboe --- Reading git-diff-tree failed