diff options
-rw-r--r-- | sys/powerpc/aim/machdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 75476f5..e00268a 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -383,7 +383,10 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, void *mdp) if (ppc64) { /* Patch the two instances of rfi -> rfid */ bcopy(&rfid_patch,&rfi_patch1,4); + #ifdef KDB + /* rfi_patch2 is at the end of dbleave */ bcopy(&rfid_patch,&rfi_patch2,4); + #endif /* * Copy a code snippet to restore 32-bit bridge mode |