Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99874d50481c093adfe74e796436024d88b6a48c
Commit:     99874d50481c093adfe74e796436024d88b6a48c
Parent:     43d28d98bed372649060ef783719b426a91972ed
Author:     Jens Axboe <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 12 12:50:41 2007 +0200
Committer:  Jens Axboe <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 12:50:41 2007 +0200

    [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 <[EMAIL PROTECTED]>
---
 block/Kconfig  |    4 ++++
 block/Makefile |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/block/Kconfig b/block/Kconfig
index 2484e0e..e108956 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
diff --git a/block/Makefile b/block/Makefile
index 3cfe7ce..8261081 100644
--- a/block/Makefile
+++ b/block/Makefile
@@ -11,4 +11,4 @@ obj-$(CONFIG_IOSCHED_DEADLINE)        += deadline-iosched.o
 obj-$(CONFIG_IOSCHED_CFQ)      += cfq-iosched.o
 
 obj-$(CONFIG_BLK_DEV_IO_TRACE) += blktrace.o
-obj-$(CONFIG_COMPAT)           += compat_ioctl.o
+obj-$(CONFIG_BLOCK_COMPAT)     += compat_ioctl.o
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to