diff options
Diffstat (limited to 'sys/arch/mips64/include/cpu.h')
-rw-r--r-- | sys/arch/mips64/include/cpu.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/cpu.h b/sys/arch/mips64/include/cpu.h index 5213837ace9..260e8585361 100644 --- a/sys/arch/mips64/include/cpu.h +++ b/sys/arch/mips64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.116 2017/04/20 15:42:26 visa Exp $ */ +/* $OpenBSD: cpu.h,v 1.117 2017/05/24 13:33:00 visa Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -234,6 +234,9 @@ extern struct cpu_info *cpu_info_list; #define CPU_INFO_UNIT(ci) ((ci)->ci_dev ? (ci)->ci_dev->dv_unit : 0) +extern void (*cpu_idle_cycle_func)(void); +#define cpu_idle_cycle() (*cpu_idle_cycle_func)() + #ifdef MULTIPROCESSOR #define MAXCPUS 4 #define getcurcpu() hw_getcurcpu() |