diff options
Diffstat (limited to 'usr/src/uts/common/os/cpu.c')
-rw-r--r-- | usr/src/uts/common/os/cpu.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/uts/common/os/cpu.c b/usr/src/uts/common/os/cpu.c index 13cf752b45..92286f7163 100644 --- a/usr/src/uts/common/os/cpu.c +++ b/usr/src/uts/common/os/cpu.c @@ -58,7 +58,7 @@ #include <sys/msacct.h> #include <sys/time.h> #include <sys/archsystm.h> -#if defined(__x86) +#if defined(__x86) || defined(__amd64) #include <sys/x86_archext.h> #endif @@ -728,6 +728,11 @@ weakbinding_start(void) weakbindingbarrier = 0; } +void +null_xcall(void) +{ +} + /* * This routine is called to place the CPUs in a safe place so that * one of them can be taken off line or placed on line. What we are @@ -2797,6 +2802,7 @@ cpu_destroy_bound_threads(cpu_t *cp) mutex_exit(&pidlock); + mutex_sync(); for (t = tlist; t != NULL; t = tnext) { tnext = t->t_next; thread_free(t); |