diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-03 18:41:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-03 18:41:01 -0800 |
| commit | e086c19275ab84257dc3df71fb071d9be0e6b2ec (patch) | |
| tree | 426c1e3ab01ee511554e9da2f56bd894a488b10f /include/asm-arm | |
| parent | 7b6b5e720c60de0e9e71da04aafb4865bb966a07 (diff) | |
[PATCH] use __attribute_const__ everywhere
From: Nikita Danilov <Nikita@Namesys.COM>
Replace all existing usages of __attribute__((const)) with
__attribute_const__.
Diffstat (limited to 'include/asm-arm')
| -rw-r--r-- | include/asm-arm/current.h | 2 | ||||
| -rw-r--r-- | include/asm-arm/thread_info.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/current.h b/include/asm-arm/current.h index b3d68cd03f73..75d21e2a3ff7 100644 --- a/include/asm-arm/current.h +++ b/include/asm-arm/current.h @@ -3,7 +3,7 @@ #include <linux/thread_info.h> -static inline struct task_struct *get_current(void) __attribute__ (( __const__ )); +static inline struct task_struct *get_current(void) __attribute_const__; static inline struct task_struct *get_current(void) { diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h index 16a541206166..95e3c9c996d3 100644 --- a/include/asm-arm/thread_info.h +++ b/include/asm-arm/thread_info.h @@ -77,7 +77,7 @@ struct thread_info { /* * how to get the thread information struct from C */ -static inline struct thread_info *current_thread_info(void) __attribute__ (( __const__ )); +static inline struct thread_info *current_thread_info(void) __attribute_const__; static inline struct thread_info *current_thread_info(void) { |
