diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-05 11:05:40 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-08 07:55:20 -0400 |
commit | 6c0a9fa62feb7e9fdefa9720bcc03040c9b0b311 (patch) | |
tree | 0c91586d2bfc7184ea2b13004147f3ef4753733d /arch/x86 | |
parent | 0a6ba092d1c8c75ae0c0617ef7f4e6f5043af311 (diff) |
fork: Remove the weak insanity
We error out when compiling with gcc4.1.[01] as it miscompiles
__weak. The workaround with magic defines is not longer
necessary. Make it __weak again.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20120505150141.306358267@linutronix.de
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/thread_info.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index ad6df8ccd715..8692a166dd4e 100644 --- a/arch/x86/include/asm/thread_info.h +++ b/arch/x86/include/asm/thread_info.h | |||
@@ -284,6 +284,5 @@ static inline bool is_ia32_task(void) | |||
284 | extern void arch_task_cache_init(void); | 284 | extern void arch_task_cache_init(void); |
285 | extern void free_thread_info(struct thread_info *ti); | 285 | extern void free_thread_info(struct thread_info *ti); |
286 | extern int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src); | 286 | extern int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src); |
287 | #define arch_task_cache_init arch_task_cache_init | ||
288 | #endif | 287 | #endif |
289 | #endif /* _ASM_X86_THREAD_INFO_H */ | 288 | #endif /* _ASM_X86_THREAD_INFO_H */ |