datapath: Fix sparse warning for symbol 'BUILD_BUG_ON_NOT_POWER_OF_2'
authorPravin B Shelar <pshelar@nicira.com>
Mon, 5 Nov 2012 21:41:02 +0000 (13:41 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 5 Nov 2012 22:12:17 +0000 (14:12 -0800)
commit10981dd8e0d081fa37f4a23cf849618e8d8af8cf
treeb0cdea8eeb31e90964659d6dd5841aa457ea6e2f
parent58e12b76c7dea98386a581c6d84454ac926abb36
datapath: Fix sparse warning for symbol 'BUILD_BUG_ON_NOT_POWER_OF_2'

BUILD_BUG_ON_NOT_POWER_OF_2 symbol is moved from kernel.h to
bug.h in 3.4.  Therefore sparse is giving warning:

include/linux/bug.h:15:9: warning: preprocessor token
BUILD_BUG_ON_NOT_POWER_OF_2 redefined
ovs/datapath/linux/compat/include/linux/kernel.h:44:9:
this was the original definition

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/Modules.mk
datapath/linux/compat/include/linux/kernel.h