diff options
| author | 2005-10-28 12:18:07 -0400 | |
|---|---|---|
| committer | 2005-10-28 12:18:07 -0400 | |
| commit | 210cc679faf0e1cabda9fc5d1279644f5e52aecb (patch) | |
| tree | f0816c90ae937a159f8bfec6018a6271223b954a /include/linux/types.h | |
| parent | Auto-update from upstream (diff) | |
| parent | [PATCH] gfp_t: the rest (diff) | |
| download | linux-dev-210cc679faf0e1cabda9fc5d1279644f5e52aecb.tar.xz linux-dev-210cc679faf0e1cabda9fc5d1279644f5e52aecb.zip | |
Auto-update from upstream
Diffstat (limited to 'include/linux/types.h')
| -rw-r--r-- | include/linux/types.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index 0aee34f9da9f..21b9ce803644 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -151,7 +151,12 @@ typedef unsigned long sector_t; */ #ifdef __CHECKER__ -#define __bitwise __attribute__((bitwise)) +#define __bitwise__ __attribute__((bitwise)) +#else +#define __bitwise__ +#endif +#ifdef __CHECK_ENDIAN__ +#define __bitwise __bitwise__ #else #define __bitwise #endif @@ -166,7 +171,7 @@ typedef __u64 __bitwise __be64; #endif #ifdef __KERNEL__ -typedef unsigned __nocast gfp_t; +typedef unsigned __bitwise__ gfp_t; #endif struct ustat { |
