datapath: Fix circular dependency between bug.h and kernel.h.
authorJesse Gross <jesse@nicira.com>
Wed, 6 Mar 2013 08:10:01 +0000 (00:10 -0800)
committerJesse Gross <jesse@nicira.com>
Wed, 6 Mar 2013 08:11:40 +0000 (00:11 -0800)
commitfe00a371e1ad32c141de563f3d0e6a651ce71c58
tree95c9f4f2a0e67918156531c044b8702e7af4f03d
parenta3a0a7a0837f60eb08b93d72e88f2d9e34cf4efd
datapath: Fix circular dependency between bug.h and kernel.h.

In Linux 3.4 the definition for BUILD_BUG_ON_NOT_POWER_OF_2 was
moved from kernel.h to bug.h.  On various kernels these header
files include each other in various orders (often through a
long chain of other header files), which can create circular
dependency issues.  Since we not longer need this definition,
this simply removes the backport.

Reported-by: Palo Andi <andi@dis.uniroma1.it>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/Modules.mk
datapath/linux/compat/include/linux/bug.h [deleted file]
datapath/linux/compat/include/linux/kernel.h