1 /* Public domain. */ 2 3 #ifndef _LINUX_SMP_H 4 #define _LINUX_SMP_H 5 6 /* sparc64 cpu.h needs time.h and siginfo.h (indirect via param.h) */ 7 #include <sys/param.h> 8 #include <machine/cpu.h> 9 10 #define smp_processor_id() (curcpu()->ci_cpuid) 11 12 #define get_cpu() cpu_number() 13 #define put_cpu() 14 15 #endif 16