diff options
| author | Ali Mashtizadeh <ali@mashtizadeh.com> | 2026-04-20 22:23:57 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-04-21 14:20:10 +0000 |
| commit | 0ac31026e1e0fb4e4b8a2eaa8ce2ead6a945dc6e (patch) | |
| tree | 3603ee66b6390e39ceba51435af8d760f7ed7f99 | |
| parent | 76c082180719f42481289eb837e44b055efc003a (diff) | |
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
| -rw-r--r-- | sys/powerpc/powerpc/machdep.c | 3 |
1 files changed, 0 insertions, 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; |
