diff options
author | Rafael Vanoni <rafael.vanoni@sun.com> | 2009-11-13 01:32:32 -0800 |
---|---|---|
committer | Rafael Vanoni <rafael.vanoni@sun.com> | 2009-11-13 01:32:32 -0800 |
commit | d3d50737e566cade9a08d73d2af95105ac7cd960 (patch) | |
tree | 399b76a3f6bf107e2ff506d8f9c3333654b29fc7 /usr/src/uts/sun4u/cpu/us3_common.c | |
parent | 1eff5f7761619411b3c31280fcd96cefc32968b7 (diff) | |
download | illumos-joyent-d3d50737e566cade9a08d73d2af95105ac7cd960.tar.gz |
PSARC/2009/396 Tickless Kernel Architecture / lbolt decoupling
6860030 tickless clock requires a clock() decoupled lbolt / lbolt64
Portions contributed by Chad Mynhier <cmynhier@gmail.com>
Diffstat (limited to 'usr/src/uts/sun4u/cpu/us3_common.c')
-rw-r--r-- | usr/src/uts/sun4u/cpu/us3_common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/sun4u/cpu/us3_common.c b/usr/src/uts/sun4u/cpu/us3_common.c index 4c67aed2c6..7b95703ac1 100644 --- a/usr/src/uts/sun4u/cpu/us3_common.c +++ b/usr/src/uts/sun4u/cpu/us3_common.c @@ -74,6 +74,7 @@ #include <sys/errorq.h> #include <sys/errclassify.h> #include <sys/pghw.h> +#include <sys/clock_impl.h> #ifdef CHEETAHPLUS_ERRATUM_25 #include <sys/xc_impl.h> @@ -906,8 +907,8 @@ mondo_recover(uint16_t cpuid, int bn) return (retval); } - CHEETAH_LIVELOCK_ENTRY_NEXT(histp) - CHEETAH_LIVELOCK_ENTRY_SET(histp, lbolt, lbolt); + CHEETAH_LIVELOCK_ENTRY_NEXT(histp); + CHEETAH_LIVELOCK_ENTRY_SET(histp, lbolt, LBOLT_WAITFREE); CHEETAH_LIVELOCK_ENTRY_SET(histp, cpuid, cpuid); CHEETAH_LIVELOCK_ENTRY_SET(histp, buddy, CPU->cpu_id); |