diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-13 23:09:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-14 13:31:38 -0700 |
commit | c68e5d39a502d01421cbc70d25c377e9215facef (patch) | |
tree | 9135a68681381d94a929b57a28a1878df0134ff7 /arch/sparc/kernel/kernel.h | |
parent | 5d83d66635bb1642f3c6a3690c28ff4afdf1ae5f (diff) | |
download | linux-c68e5d39a502d01421cbc70d25c377e9215facef.tar.gz linux-c68e5d39a502d01421cbc70d25c377e9215facef.tar.bz2 linux-c68e5d39a502d01421cbc70d25c377e9215facef.zip |
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>
Diffstat (limited to 'arch/sparc/kernel/kernel.h')
-rw-r--r-- | arch/sparc/kernel/kernel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h index 8278df5d4ce7..1c1a7d39c7e1 100644 --- a/arch/sparc/kernel/kernel.h +++ b/arch/sparc/kernel/kernel.h @@ -80,8 +80,6 @@ extern unsigned int patchme_maybe_smp_msg[]; extern void floppy_hardint(void); /* trampoline_32.S */ -extern int __smp4m_processor_id(void); -extern int __smp4d_processor_id(void); extern unsigned long sun4m_cpu_startup; extern unsigned long sun4d_cpu_startup; |