diff --git a/sys/sparc64/sparc64/critical.c b/sys/sparc64/sparc64/critical.c index 8c2df1c6aafe..f708ce01541d 100644 --- a/sys/sparc64/sparc64/critical.c +++ b/sys/sparc64/sparc64/critical.c @@ -34,7 +34,7 @@ void cpu_critical_exit(void) { struct thread *td = curthread; - wrpr(td->td_md.md_savecrit, td->td_md.md_savecrit, 0); + wrpr(pil, td->td_md.md_savecrit, 0); } /*