[ovs-git] Open vSwitch: datapath: Use __packed macro. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Dec 13 21:26:40 UTC 2010


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, master has been updated
       via  961703de9684997c273ac34ab8d4e0fda1128759 (commit)
       via  0a85924fdd5ed6bfbac030e9a2ca5ddf70e0119f (commit)
      from  8ca67760440e4a779711eaeea31cc66b7bc8ecf4 (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 961703de9684997c273ac34ab8d4e0fda1128759
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=961703de9684997c273ac34ab8d4e0fda1128759
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Use __packed macro.
		
The __packed macro is preferred instead of an explicit GCC attribute,
so use it instead to deal with structure packing.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 0a85924fdd5ed6bfbac030e9a2ca5ddf70e0119f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0a85924fdd5ed6bfbac030e9a2ca5ddf70e0119f
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Compatibility code for __packed macro.
		
The __packed macro for structure packing wasn't introduced until 2.6.24,
so define it ourselves.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/flow.h                                    |    2 +-
 datapath/linux-2.6/Modules.mk                      |    1 +
 .../compat-2.6/include/linux/compiler-gcc.h        |    9 +++++++++
 3 files changed, 11 insertions(+), 1 deletions(-)
 create mode 100644 datapath/linux-2.6/compat-2.6/include/linux/compiler-gcc.h


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list