powerpc/kuap: Simplify KUAP lock/unlock on BOOK3S/32
[platform/kernel/linux-starfive.git] / arch / powerpc / kernel / traps.c
index 7ef147e..f5ce282 100644 (file)
@@ -1158,7 +1158,7 @@ DEFINE_INTERRUPT_HANDLER(single_step_exception)
  * pretend we got a single-step exception.  This was pointed out
  * by Kumar Gala.  -- paulus
  */
-static void emulate_single_step(struct pt_regs *regs)
+void emulate_single_step(struct pt_regs *regs)
 {
        if (single_stepping(regs))
                __single_step_exception(regs);