]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: zcache: disable ZCACHE_DEBUG due to build error
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 6 Mar 2013 00:31:06 +0000 (11:31 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2013 00:42:52 +0000 (08:42 +0800)
In file included from drivers/staging/zcache/debug.c:2:0:
drivers/staging/zcache/debug.h: In function 'dec_zcache_obj_count':
drivers/staging/zcache/debug.h:16:2: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/Kconfig

index 2da6cc444c7e50d4758ba84d36c9e9026699871e..ad47b4b8f04be0b2869bddeb247018992768389f 100644 (file)
@@ -13,6 +13,7 @@ config ZCACHE
 config ZCACHE_DEBUG
        bool "Enable debug statistics"
        depends on DEBUG_FS && ZCACHE
 config ZCACHE_DEBUG
        bool "Enable debug statistics"
        depends on DEBUG_FS && ZCACHE
+       depends on BROKEN
        default n
        help
          This is used to provide an debugfs directory with counters of
        default n
        help
          This is used to provide an debugfs directory with counters of