commit | c68e5d39a502d01421cbc70d25c377e9215facef | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun May 13 23:09:04 2012 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 14 13:31:38 2012 -0700 |
tree | 9135a68681381d94a929b57a28a1878df0134ff7 | |
parent | 5d83d66635bb1642f3c6a3690c28ff4afdf1ae5f [diff] |
sparc32: Implement hard_smp_processor_id() via instruction patching. This is the last non-trivial user of btfixup. Like sparc64, use a special patch section to resolve the various implementations of how to read the current CPU's ID when we don't have current_thread_info()->cpu necessarily available. Signed-off-by: David S. Miller <davem@davemloft.net> Tested-by: Sam Ravnborg <sam@ravnborg.org>