git: e85414931a37 - main - dtrace: Load fasttrap on powerpc with dtraceall

From: Justin Hibbits <jhibbits_at_FreeBSD.org>
Date: Sun, 30 Oct 2022 20:03:05 UTC
The branch main has been updated by jhibbits:

URL: https://cgit.FreeBSD.org/src/commit/?id=e85414931a374f5847d87cc88a90592541c17ff9

commit e85414931a374f5847d87cc88a90592541c17ff9
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2022-10-30 19:56:12 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2022-10-30 20:00:56 +0000

    dtrace: Load fasttrap on powerpc with dtraceall
    
    This was missing from the original port of DTrace to powerpc 10 years
    ago.
    
    MFC after:      3 weeks
---
 sys/modules/dtrace/dtraceall/dtraceall.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/modules/dtrace/dtraceall/dtraceall.c b/sys/modules/dtrace/dtraceall/dtraceall.c
index ce6ae0ea0754..f7faabce4bc4 100644
--- a/sys/modules/dtrace/dtraceall/dtraceall.c
+++ b/sys/modules/dtrace/dtraceall/dtraceall.c
@@ -75,7 +75,7 @@ MODULE_DEPEND(dtraceall, dtnfscl, 1, 1, 1);
     defined(__powerpc__) || defined(__riscv)
 MODULE_DEPEND(dtraceall, fbt, 1, 1, 1);
 #endif
-#if defined(__amd64__) || defined(__i386__)
+#if defined(__amd64__) || defined(__i386__) || defined(__powerpc__)
 MODULE_DEPEND(dtraceall, fasttrap, 1, 1, 1);
 #if defined(__amd64__)
 MODULE_DEPEND(dtraceall, kinst, 1, 1, 1);