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:39:37 +0000 (16:39 -0800)
commit39b63da939c662c151ea678f3f3ca491f64cbfeb
treedbe1932f05193f9391845fb858df2564f0563039
parent3f079d423336ed82929fcaf85a4475c88d5f3f6e
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>
Conflicts:
datapath/linux/Modules.mk
datapath/linux/Modules.mk
datapath/linux/compat/include/linux/bug.h [deleted file]
datapath/linux/compat/include/linux/kernel.h