diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-10-12 12:50:41 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-12 12:50:41 +0200 |
commit | 99874d50481c093adfe74e796436024d88b6a48c (patch) | |
tree | 84f0b0705b9d61cb7ed59d5d28a947880d2968d4 /block/Kconfig | |
parent | [BLOCK] Better fix for do_blk_trace_setup() for !CONFIG_BLOCK (diff) | |
download | linux-99874d50481c093adfe74e796436024d88b6a48c.tar.xz linux-99874d50481c093adfe74e796436024d88b6a48c.zip |
[BLOCK] Only include the compat ioctl code if CONFIG_BLOCK is set
Add an extra CONFIG_BLOCK_COMPAT that we can use in the Makefile
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/Kconfig')
-rw-r--r-- | block/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig index 2484e0e9d89c..e10895647f72 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -62,6 +62,10 @@ config BLK_DEV_BSG protocols (e.g. Task Management Functions and SMP in Serial Attached SCSI). +config BLOCK_COMPAT + bool + default y + endif # BLOCK source block/Kconfig.iosched |