projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ieee80211: remove function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}
[carl9170fw.git]
/
include
/
linux
/
compiler.h
diff --git
a/include/linux/compiler.h
b/include/linux/compiler.h
index f6f144449a78d8c3ff687d879f340b51bfe2dc08..f4c6ab1337ca61d11e82d142ac761a40b1294b58 100644
(file)
--- a/
include/linux/compiler.h
+++ b/
include/linux/compiler.h
@@
-24,9
+24,10
@@
#define __cold __attribute__((cold))
#define __unused __attribute__((unused))
#define __force __attribute__((force))
#define __cold __attribute__((cold))
#define __unused __attribute__((unused))
#define __force __attribute__((force))
-#define __
section(s)
__attribute__((section("." # s)))
+#define __
in_section(s)
__attribute__((section("." # s)))
#define __aligned(a) __attribute__((aligned(a)))
#define __packed __attribute__((packed))
#define __aligned(a) __attribute__((aligned(a)))
#define __packed __attribute__((packed))
+#define __visible __attribute__((externally_visible))
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
#define BUILD_BUG_ON_ZERO(e) (sizeof(char[1 - 2 * !!(e)]) - 1)
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
#define BUILD_BUG_ON_ZERO(e) (sizeof(char[1 - 2 * !!(e)]) - 1)
@@
-78,7
+79,7
@@
#define container_of(ptr, type, member) ({ \
const typeof(((type *)0)->member) * __mptr = (ptr); \
#define container_of(ptr, type, member) ({ \
const typeof(((type *)0)->member) * __mptr = (ptr); \
- (type *)((
char *)__mptr - offsetof(type, member
)); })
+ (type *)((
(unsigned long)__mptr - offsetof(type, member)
)); })
#define MAX_ERRNO 4095
#define MAX_ERRNO 4095