[ovs-git] Open vSwitch: datapath: Fix circular dependency between bug.h and kernel.h. (branch-1.9)

dev at openvswitch.org dev at openvswitch.org
Wed Mar 6 00:40:22 UTC 2013

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.9 has been updated
       via  39b63da939c662c151ea678f3f3ca491f64cbfeb (commit)
      from  3f079d423336ed82929fcaf85a4475c88d5f3f6e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 39b63da939c662c151ea678f3f3ca491f64cbfeb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=39b63da939c662c151ea678f3f3ca491f64cbfeb
Author: Jesse Gross <jesse at nicira.com>
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 at dis.uniroma1.it>
Signed-off-by: Jesse Gross <jesse at nicira.com>



Summary of changes:
 datapath/linux/Modules.mk                    |    1 -
 datapath/linux/compat/include/linux/bug.h    |   12 ------------
 datapath/linux/compat/include/linux/kernel.h |    4 ----
 3 files changed, 0 insertions(+), 17 deletions(-)
 delete mode 100644 datapath/linux/compat/include/linux/bug.h

Open vSwitch

More information about the git mailing list