diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-04-19 23:05:48 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-23 20:31:49 +1000 |
commit | adbcf8d74f4609e142b01520afa173bfe911122b (patch) | |
tree | bbf780dbc1abca864c5d3ef071008478e991f601 /kernel/sys.c | |
parent | 1945bc4549e5cb1f9aa873ec29191aa54dc851d2 (diff) |
powerpc/64s: Expand core idle state bits
In preparation for adding more bits to the core idle state word, move
the lock bit up, and unlock by flipping the lock bit rather than masking
off all but the thread bits.
Add branch hints for atomic operations while we're here.
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions