Print this page
XXXX introduce drv_sectohz
@@ -2438,12 +2438,11 @@
* Since we're skipping logging, we'll need
* to schedule the re-enabling of CEEN
*/
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)aflt->flt_inst,
- drv_usectohz((clock_t)cpu_ceen_delay_secs
- * MICROSEC));
+ drv_sectohz((clock_t)cpu_ceen_delay_secs));
}
/*
* Inform memscrubber - scrubbing induced
* CE on a retired page.
@@ -2666,11 +2665,11 @@
* of a CE storm.
*/
if (ch_flt->flt_trapped_ce & CE_CEEN_DEFER) {
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)aflt->flt_inst,
- drv_usectohz((clock_t)cpu_ceen_delay_secs * MICROSEC));
+ drv_sectohz((clock_t)cpu_ceen_delay_secs));
}
}
/*
* Invoked by error_init() early in startup and therefore before
@@ -6070,11 +6069,11 @@
cpu_delayed_check_ce_errors(void *arg)
{
if (!taskq_dispatch(ch_check_ce_tq, cpu_check_ce_errors, arg,
TQ_NOSLEEP)) {
(void) timeout(cpu_delayed_check_ce_errors, arg,
- drv_usectohz((clock_t)cpu_ceen_delay_secs * MICROSEC));
+ drv_sectohz((clock_t)cpu_ceen_delay_secs));
}
}
/*
* CE Deferred Re-enable after trap.
@@ -6159,11 +6158,11 @@
* cpu_ceen_delay_secs.
*/
mutex_exit(&cpu_lock);
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)cp->cpu_id,
- drv_usectohz((clock_t)cpu_ceen_delay_secs * MICROSEC));
+ drv_sectohz((clock_t)cpu_ceen_delay_secs));
}
}
/*
* This routine will check whether CEs have occurred while