x86: remove redunant idle timestamp setting

This metric shows when the system first enters an idle
state, which has already been recorded in the arch-
independent implementation of the idle thread.

Only x86 was doing this.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-09-21 16:45:57 -07:00 committed by Anas Nashif
commit fa22ecffec

View file

@ -21,10 +21,6 @@
void z_arch_cpu_idle(void)
{
sys_trace_idle();
#if defined(CONFIG_BOOT_TIME_MEASUREMENT)
__idle_time_stamp = k_cycle_get_32();
#endif
__asm__ volatile (
"sti\n\t"
"hlt\n\t");