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 21:41:02 +0000 (13:41 -0800)
commit51f4701be1545a3faa288dfe3993221a6a2fd81c
tree9ccadb5aeb6830aa20940c42a2c4e489f1c29940
parent1280bf0e51e963dd3de6ee1e530bd4d7ce376591
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