From d7523cdd84a146d743fec5dab19fd8faabe193b5 Mon Sep 17 00:00:00 2001 From: Hannes Weisbach Date: Thu, 12 Oct 2017 17:13:21 +0900 Subject: [PATCH] Remove assignment of ns_per_tsc in struct monitor struct member seems to have been removed or moved to struct global_rusage --- kernel/init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/init.c b/kernel/init.c index 2a1cb05b..1dfba803 100644 --- a/kernel/init.c +++ b/kernel/init.c @@ -206,7 +206,6 @@ static void monitor_init() monitor = ihk_mc_alloc_pages(z, IHK_MC_AP_CRITICAL); memset(monitor, 0, z * PAGE_SIZE); monitor->num_processors = (cpu_info->ncpus - 1); - monitor->ns_per_tsc = ihk_mc_get_ns_per_tsc(); phys = virt_to_phys(monitor); ihk_set_monitor(phys, sizeof(struct ihk_os_monitor) + sizeof(struct ihk_os_cpu_monitor) * (cpu_info->ncpus - 1));