]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: zcache/debug: compiler failure on PPC64 and revert commit.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 7 Mar 2013 18:50:47 +0000 (13:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Mar 2013 23:17:30 +0000 (07:17 +0800)
commit7791c623b3826ab9dac6fe0bca770776a5e6c4ce
tree6006430ee481932154c8162f18b7dcd5e5abc2d7
parente9f5b8145af9a0ee34e98cf01dcd3afb87225538
staging: zcache/debug: compiler failure on PPC64 and revert commit.

On PPC64 we get this:
In file included from drivers/staging/zcache/debug.c:2:
drivers/staging/zcache/debug.h: In function 'dec_zcache_obj_count':
drivers/staging/zcache/debug.h:16: error: implicit declaration of function 'BUG_ON'

This simple patch adds the appropiate header file to finish
the compile and reverts
"staging: zcache: disable ZCACHE_DEBUG due to build error"
(5db5a20a50cfd078c78b13a988f237cca81aedc5)

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/Kconfig
drivers/staging/zcache/debug.h