Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 17:18:21 +0000
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Ali Mashtizadeh <ali@mashtizadeh.com>
Subject:   git: 43315a8a15cc - stable/15 - powerpc: remove dead code call into x86 perfmon
Message-ID:  <69ef9a5d.19e4e.8cb29e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ef9a5d.19e4e.8cb29e>