sparc32: Implement hard_smp_processor_id() via instruction patching.
authorDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2012 06:09:04 +0000 (23:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2012 20:31:38 +0000 (13:31 -0700)
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>

No differences found