1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/* Public domain. */ #ifndef _LINUX_PROCESSOR_H #define _LINUX_PROCESSOR_H #include <sys/systm.h> /* sparc64 cpu.h needs time.h and siginfo.h (indirect via param.h) */ #include <sys/param.h> #include <machine/cpu.h> #include <linux/jiffies.h> static inline void cpu_relax(void) { CPU_BUSY_CYCLE(); if (cold) { delay(tick); jiffies++; } } #endif