There are no longer any callers of GET_PROCESSOR_MID and
GET_PROCESSOR_ID, so both are removed.
* for cross calls. That has a separate entry point below.
*/
maybe_smp4m_msg:
- GET_PROCESSOR_MID(o3)
+ GET_PROCESSOR4M_ID(o3)
set sun4m_interrupts, %l5
ld [%l5], %o5
sethi %hi(0x60000000), %o4
linux_trap_ipi15_sun4m:
SAVE_ALL
sethi %hi(0x80000000), %o2
- GET_PROCESSOR_MID(o0)
+ GET_PROCESSOR4M_ID(o0)
set sun4m_interrupts, %l5
ld [%l5], %o5
sll %o0, 12, %o0
#define GET_PROCESSOR4D_ID(reg) \
lda [%g0] ASI_M_VIKING_TMP1, %reg;
-/* Blackbox */
-#define GET_PROCESSOR_ID(reg) \
- sethi %hi(___b_smp_processor_id), %reg; \
- sethi %hi(boot_cpu_id), %reg; \
- ldub [%reg + %lo(boot_cpu_id)], %reg;
-
-#define GET_PROCESSOR_MID(reg) \
- rd %tbr, %reg; \
- srl %reg, 12, %reg; \
- and %reg, 3, %reg;
-
/* All trap entry points _must_ begin with this macro or else you
* lose. It makes sure the kernel has a proper window so that
* c-code can be called.