Patch from mainstream, cuted by Pavel (xemul@): Add __bitwise macro for e100 driver This is a 5-lines part of 12K patch from viro@: http://linux.bkbits.net:8080/linux-2.6/gnupatch@4140e2c5DV70s0Nv8cigBNB4ry4jWA --- a/include/linux/types.h 2005-10-20 06:02:26 -07:00 +++ b/include/linux/types.h 2005-10-20 06:02:26 -07:00 @@ -140,6 +140,11 @@ #define pgoff_t unsigned long #endif +#ifdef __CHECKER__ +#define __bitwise __attribute__((bitwise)) +#else +#define __bitwise +#endif #endif /* __KERNEL_STRICT_NAMES */ /* # This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/09/09 10:35:01-07:00 viro@parcelfarce.linux.theplanet.co.uk # [PATCH] beginning of endianness annotations # # This adds the types and annotates conversion functions. I've converted # the ...p() versions to inlines; AFAICS, everything's still happy... # # Signed-off-by: Al Viro # Signed-off-by: Linus Torvalds # # include/linux/byteorder/big_endian.h # 2004/09/09 01:24:41-07:00 viro@parcelfarce.linux.theplanet.co.uk +74 -36 # beginning of endianness annotations # # include/linux/byteorder/little_endian.h # 2004/09/09 01:23:56-07:00 viro@parcelfarce.linux.theplanet.co.uk +74 -36 # beginning of endianness annotations # # include/linux/types.h # 2004/09/08 18:32:39-07:00 viro@parcelfarce.linux.theplanet.co.uk +13 -0 # beginning of endianness annotations #