Skip to content

Commit

Permalink
Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_…
Browse files Browse the repository at this point in the history
…tracking.c:367"

This reverts commit fea29d4 which is
commit 73cb4a2 upstream.

It breaks the build on parisc systems, so revert it.

Reported-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Helge Deller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gregkh committed Sep 12, 2024
1 parent 15605b3 commit 324954a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/parisc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ void do_cpu_irq_mask(struct pt_regs *regs)

old_regs = set_irq_regs(regs);
local_irq_disable();
irq_enter_rcu();
irq_enter();

eirr_val = mfctl(23) & cpu_eiem & per_cpu(local_ack_eiem, cpu);
if (!eirr_val)
Expand Down Expand Up @@ -559,7 +559,7 @@ void do_cpu_irq_mask(struct pt_regs *regs)
#endif /* CONFIG_IRQSTACKS */

out:
irq_exit_rcu();
irq_exit();
set_irq_regs(old_regs);
return;

Expand Down

0 comments on commit 324954a

Please sign in to comment.