summaryrefslogtreecommitdiff
path: root/include/asm-arm/thread_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/thread_info.h')
-rw-r--r--include/asm-arm/thread_info.h2
1 files changed, 1 insertions, 1 deletions
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)
{