OpenCloudOS-Kernel/arch/um/include
Richard Weinberger 534e3adbd2 um: adjust current_thread_info() for newer gcc versions
In some cases gcc >= 4.5.2 will optimize away current_thread_info().  To
prevent gcc from doing so the stack address has to be obtained via inline
asm.

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-04-28 11:28:21 -07:00
..
asm um: adjust current_thread_info() for newer gcc versions 2011-04-28 11:28:21 -07:00
shared um: remove file pointer from ioctl 2011-03-22 17:44:09 -07:00