diff options
author | Richard Weinberger <richard@nod.at> | 2011-04-28 00:26:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-28 20:28:21 +0200 |
commit | 534e3adbd22efa327e6ff27cf2d8ebaad8382ecd (patch) | |
tree | b45ec4d6debc312616e8d0590dacaed0b87e849f /kernel/watchdog.c | |
parent | uml: fix hppfs build (diff) | |
download | linux-534e3adbd22efa327e6ff27cf2d8ebaad8382ecd.tar.xz linux-534e3adbd22efa327e6ff27cf2d8ebaad8382ecd.zip |
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>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions