Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2020 03:34:16 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358800 - head/sys/dev/cpufreq
Message-ID:  <202003090334.0293YG7v049491@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Mon Mar  9 03:34:16 2020
New Revision: 358800
URL: https://svnweb.freebsd.org/changeset/base/358800

Log:
  cpufreq: Unbreak build.

Modified:
  head/sys/dev/cpufreq/cpufreq_dt.c

Modified: head/sys/dev/cpufreq/cpufreq_dt.c
==============================================================================
--- head/sys/dev/cpufreq/cpufreq_dt.c	Mon Mar  9 02:30:16 2020	(r358799)
+++ head/sys/dev/cpufreq/cpufreq_dt.c	Mon Mar  9 03:34:16 2020	(r358800)
@@ -519,7 +519,8 @@ cpufreq_dt_attach(device_t dev)
 			continue;
 		if (cpu == sc->cpu) {
 			DEBUG(dev, "Skipping our cpu\n");
-			CPU_SET(cpu++, &sc->cpus);
+			CPU_SET(cpu, &sc->cpus);
+			cpu++;
 			continue;
 		}
 		DEBUG(dev, "Testing CPU %d\n", cpu);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003090334.0293YG7v049491>