From: kettenis Date: Sun, 16 Jul 2023 16:13:46 +0000 (+0000) Subject: Remove debug printfs that print the number of wakeups seen by the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d7d137ab99bbd82a4500c7633b967acab8642bfb;p=openbsd 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@ --- 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; }