block: add cond_resched() to potentially long running ioctl discard loop
[linux-3.10.git] / block / Makefile
index c05de0e..39b76ba 100644 (file)
@@ -2,11 +2,19 @@
 # Makefile for the kernel block layer
 #
 
-obj-y  := elevator.o ll_rw_blk.o ioctl.o genhd.o scsi_ioctl.o
+obj-$(CONFIG_BLOCK) := elevator.o blk-core.o blk-tag.o blk-sysfs.o \
+                       blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
+                       blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \
+                       blk-iopoll.o blk-lib.o ioctl.o genhd.o scsi_ioctl.o \
+                       partition-generic.o partitions/
 
+obj-$(CONFIG_BLK_DEV_BSG)      += bsg.o
+obj-$(CONFIG_BLK_DEV_BSGLIB)   += bsg-lib.o
+obj-$(CONFIG_BLK_CGROUP)       += blk-cgroup.o
+obj-$(CONFIG_BLK_DEV_THROTTLING)       += blk-throttle.o
 obj-$(CONFIG_IOSCHED_NOOP)     += noop-iosched.o
-obj-$(CONFIG_IOSCHED_AS)       += as-iosched.o
 obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o
 obj-$(CONFIG_IOSCHED_CFQ)      += cfq-iosched.o
 
-obj-$(CONFIG_BLK_DEV_IO_TRACE) += blktrace.o
+obj-$(CONFIG_BLOCK_COMPAT)     += compat_ioctl.o
+obj-$(CONFIG_BLK_DEV_INTEGRITY)        += blk-integrity.o