5285 pass in cpu_pause_func via pause_cpus

Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

illumos/illumos-gate@0ed5c46e82
This commit is contained in:
Xin LI 2014-12-05 23:51:20 +00:00
parent 8077d59497
commit 66acfb1d5b

View File

@ -652,7 +652,7 @@ void poke_cpu(int cpun); /* interrupt another CPU (to preempt) */
void mach_cpu_pause(volatile char *);
void pause_cpus(cpu_t *off_cp);
void pause_cpus(cpu_t *off_cp, void *(*func)(void *));
void start_cpus(void);
int cpus_paused(void);