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 #endif 13