From d7d137ab99bbd82a4500c7633b967acab8642bfb Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 16 Jul 2023 16:13:46 +0000 Subject: [PATCH] Remove debug printfs that print the number of wakeups seen by the individual CPUs. Ever since we switched from WFE to WFE in the suspend loops the information hasn't been very useful anymore. And there is some evidence that a printf here causes problems with syslog (e.g. running xconsole under X). ok deraadt@ --- sys/arch/arm64/arm64/cpu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/arch/arm64/arm64/cpu.c b/sys/arch/arm64/arm64/cpu.c index 813d19e03e7..8213130c3a6 100644 --- a/sys/arch/arm64/arm64/cpu.c +++ b/sys/arch/arm64/arm64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.96 2023/07/13 08:33:36 kettenis Exp $ */ +/* $OpenBSD: cpu.c,v 1.97 2023/07/16 16:13:46 kettenis Exp $ */ /* * Copyright (c) 2016 Dale Rahn @@ -1238,8 +1238,6 @@ cpu_halt(void) /* Unmask clock interrupts. */ WRITE_SPECIALREG(cntv_ctl_el0, READ_SPECIALREG(cntv_ctl_el0) & ~CNTV_CTL_IMASK); - - printf("%s: %d wakeup events\n", ci->ci_dev->dv_xname, count); } void @@ -1362,8 +1360,6 @@ resume: WRITE_SPECIALREG(cntv_ctl_el0, READ_SPECIALREG(cntv_ctl_el0) & ~CNTV_CTL_IMASK); - printf("%s: %d wakeup events\n", ci->ci_dev->dv_xname, count); - return 0; } -- 2.20.1