]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
fork: Remove the weak insanity
authorThomas Gleixner <tglx@linutronix.de>
Sat, 5 May 2012 15:05:40 +0000 (15:05 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 8 May 2012 11:55:20 +0000 (13:55 +0200)
commit6c0a9fa62feb7e9fdefa9720bcc03040c9b0b311
tree0c91586d2bfc7184ea2b13004147f3ef4753733d
parent0a6ba092d1c8c75ae0c0617ef7f4e6f5043af311
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
arch/sh/include/asm/thread_info.h
arch/x86/include/asm/thread_info.h
kernel/fork.c