git: 43315a8a15cc - stable/15 - powerpc: remove dead code call into x86 perfmon
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Apr 2026 17:18:21 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=43315a8a15cc5a690ac97ccb911106cf704286f9
commit 43315a8a15cc5a690ac97ccb911106cf704286f9
Author: Ali Mashtizadeh <ali@mashtizadeh.com>
AuthorDate: 2026-04-20 22:23:57 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-04-27 17:17:46 +0000
powerpc: remove dead code call into x86 perfmon
FreeBSD and NetBSD has copied these lines from the x86 architecture when
porting to other machines and forgetting to delete them.
Reviewed by: mhorne
Sponsored by: Netflix
Pull Request: https://github.com/freebsd/freebsd-src/pull/2154
(cherry picked from commit 0ac31026e1e0fb4e4b8a2eaa8ce2ead6a945dc6e)
---
sys/powerpc/powerpc/machdep.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c
index 04b3967ee110..a98f095cadc0 100644
--- a/sys/powerpc/powerpc/machdep.c
+++ b/sys/powerpc/powerpc/machdep.c
@@ -195,9 +195,6 @@ cpu_startup(void *dummy)
*/
cpu_setup(PCPU_GET(cpuid));
-#ifdef PERFMON
- perfmon_init();
-#endif
printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)physmem),
ptoa((uintmax_t)physmem) / 1048576);
realmem = physmem;