index | | raw e-mail
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
