diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-24 16:16:20 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 17:21:18 -0500 |
commit | 3ff6eecca4e5c49a5d1dd8b58ea0e20102ce08f0 (patch) | |
tree | 9af53a5ce0054520be6d572f988a76f3ab4ef0c0 /include/asm-x86/thread_info_32.h | |
parent | bc395add945659e04cc7cf250755ba0edc1a9fdc (diff) |
remove __attribute_used__
Remove the deprecated __attribute_used__.
[Introduce __section in a few places to silence checkpatch /sam]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'include/asm-x86/thread_info_32.h')
-rw-r--r-- | include/asm-x86/thread_info_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/thread_info_32.h b/include/asm-x86/thread_info_32.h index ef58fd2a6eb0..a516e9192f11 100644 --- a/include/asm-x86/thread_info_32.h +++ b/include/asm-x86/thread_info_32.h | |||
@@ -85,7 +85,7 @@ struct thread_info { | |||
85 | 85 | ||
86 | 86 | ||
87 | /* how to get the current stack pointer from C */ | 87 | /* how to get the current stack pointer from C */ |
88 | register unsigned long current_stack_pointer asm("esp") __attribute_used__; | 88 | register unsigned long current_stack_pointer asm("esp") __used; |
89 | 89 | ||
90 | /* how to get the thread information struct from C */ | 90 | /* how to get the thread information struct from C */ |
91 | static inline struct thread_info *current_thread_info(void) | 91 | static inline struct thread_info *current_thread_info(void) |