blob: 273ecef9c9454e8f15d5b72411d943de98cda8b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
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 <viro@parcelfarce.linux.org.uk>
# Signed-off-by: Linus Torvalds <torvalds@osdl.org>
#
# 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
#
|