diff options
author | Anton Blanchard <anton@samba.org> | 2014-10-31 14:47:25 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-11-10 09:59:31 +1100 |
commit | a3e5b356b3ab40b00ecb0f6fde445db719c100b5 (patch) | |
tree | a330444b01df40d2f4a403ee61fd0f33623e5949 /arch/powerpc/kernel | |
parent | e88f157de5e0b327b1b26e3260de4b16c07e2d19 (diff) | |
download | blackbird-obmc-linux-a3e5b356b3ab40b00ecb0f6fde445db719c100b5.tar.gz blackbird-obmc-linux-a3e5b356b3ab40b00ecb0f6fde445db719c100b5.zip |
powerpc: Don't use local named register variable in current_thread_info
LLVM doesn't support local named register variables and is unlikely
to. current_thread_info is using one, fix it by moving it out and
calling it __current_r1().
I gave it a bit of an obscure name because we don't want anyone else
using it - they should use current_stack_pointer(). This specific
case is performance critical and we can't afford to call a function
to get it. Furthermore it isn't important to know exactly where in
the stack we are since we mask the lower bits.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions