Am Freitag 22 April 2011, 02:10:50 schrieb Kirill A. Shutemov:
> Also reproducible with gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4).
Interesting.
Using gcc 4.5.1 it's not reproducible.
So I've to rewrite the commit message.
Thanks,
//richard
-
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.
LKML-Reference: http://marc.info/?i=201104132150.05623.rich...@nod.at
Acked-by: Kirill A. Shutemov
Signed-off-by: Richard Weinberger
---
arch/u