From: Jesse Gross Date: Mon, 31 Jan 2011 23:15:05 +0000 (-0800) Subject: datapath-protocol: Dropped unused __aligned_* types. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd2525b87e716ebf06995961321869f521cab1ef;p=openvswitch datapath-protocol: Dropped unused __aligned_* types. These types are no longer used, are redundantly defined, and were cluttering our interface header. Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- diff --git a/include/linux/automake.mk b/include/linux/automake.mk index 56103a79..a0a963d0 100644 --- a/include/linux/automake.mk +++ b/include/linux/automake.mk @@ -1,3 +1,2 @@ noinst_HEADERS += \ - include/linux/if_link.h \ - include/linux/types.h + include/linux/if_link.h diff --git a/include/linux/types.h b/include/linux/types.h deleted file mode 100644 index 8b9227e7..00000000 --- a/include/linux/types.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef __LINUX_TYPES_USER_WRAPPER_H -#define __LINUX_TYPES_USER_WRAPPER_H 1 - -#include_next - -/* These were only introduced in v2.6.36. */ -#ifndef __aligned_u64 -#define __aligned_u64 __u64 __attribute__((aligned(8))) -#define __aligned_be64 __be64 __attribute__((aligned(8))) -#define __aligned_le64 __le64 __attribute__((aligned(8))) -#endif - -#endif diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index eafc8003..dbf1f5e6 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -61,12 +61,6 @@ #include #endif -#ifndef __aligned_u64 -#define __aligned_u64 __u64 __attribute__((aligned(8))) -#define __aligned_be64 __be64 __attribute__((aligned(8))) -#define __aligned_le64 __le64 __attribute__((aligned(8))) -#endif - #include #include