datapath: Compatibility code for __packed macro.
authorJesse Gross <jesse@nicira.com>
Sun, 12 Dec 2010 07:28:33 +0000 (23:28 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 13 Dec 2010 21:26:08 +0000 (13:26 -0800)
commit0a85924fdd5ed6bfbac030e9a2ca5ddf70e0119f
tree272b923e56c4a50f77ef34761e2d5945f286a146
parent8ca67760440e4a779711eaeea31cc66b7bc8ecf4
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@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/linux-2.6/Modules.mk
datapath/linux-2.6/compat-2.6/include/linux/compiler-gcc.h [new file with mode: 0644]