]> git.sur5r.net Git - u-boot/blobdiff - include/linux/types.h
lcd, mpc8xx: move the mpc8xx driver to drivers/video
[u-boot] / include / linux / types.h
index df4808fcdf45578b502ba25e7b287689461acb92..1b0b4a44c456a6d20303cf6de31293a7840911f6 100644 (file)
@@ -119,6 +119,30 @@ typedef            __s64           int64_t;
  * Below are truly Linux-specific types that should never collide with
  * any application/library that wants linux/types.h.
  */
+#ifdef __CHECKER__
+#define __bitwise__ __attribute__((bitwise))
+#else
+#define __bitwise__
+#endif
+#ifdef __CHECK_ENDIAN__
+#define __bitwise __bitwise__
+#else
+#define __bitwise
+#endif
+
+typedef __u16 __bitwise __le16;
+typedef __u16 __bitwise __be16;
+typedef __u32 __bitwise __le32;
+typedef __u32 __bitwise __be32;
+#if defined(__GNUC__)
+typedef __u64 __bitwise __le64;
+typedef __u64 __bitwise __be64;
+#endif
+typedef __u16 __bitwise __sum16;
+typedef __u32 __bitwise __wsum;
+
+
+typedef unsigned __bitwise__   gfp_t;
 
 struct ustat {
        __kernel_daddr_t        f_tfree;