git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365a0de
)
um: adjust current_thread_info() for newer gcc versions
author
Richard Weinberger
<richard@nod.at>
Wed, 27 Apr 2011 22:26:54 +0000
(15:26 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 28 Apr 2011 18:28:21 +0000
(11:28 -0700)
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>
No differences found