]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/types.h
[INET_CONNECTION_SOCK]: Pack struct inet_connection_sock_af_ops
[linux-2.6-omap-h63xx.git] / include / linux / types.h
index 406d4ae57631709542ad5097b1aba9216fa2a4c3..745c409ebbb534294b250b1735da43e2dbc6f755 100644 (file)
@@ -128,9 +128,15 @@ typedef            __s64           int64_t;
 
 /* this is a special 64bit data type that is 8-byte aligned */
 #define aligned_u64 unsigned long long __attribute__((aligned(8)))
+#define aligned_be64 __be64 __attribute__((aligned(8)))
+#define aligned_le64 __le64 __attribute__((aligned(8)))
 
-/*
+/**
  * The type used for indexing onto a disc or disc partition.
+ *
+ * Linux always considers sectors to be 512 bytes long independently
+ * of the devices real block size.
+ *
  * If required, asm/types.h can override it and define
  * HAVE_SECTOR_T
  */
@@ -176,6 +182,8 @@ typedef __u32 __bitwise __be32;
 typedef __u64 __bitwise __le64;
 typedef __u64 __bitwise __be64;
 #endif
+typedef __u16 __bitwise __sum16;
+typedef __u32 __bitwise __wsum;
 
 #ifdef __KERNEL__
 typedef unsigned __bitwise__ gfp_t;