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 00:48:41 +0000 (16:48 -0800)
commit78312dec1883e7d6e47e652633eae04c723ed86e
tree51ba033f3238fcfb142cf678af0f4d95e4334e41
parentd270011c636ffcc4bdaca9bb1481f55a28694468
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