projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada26d4
)
[PARISC] Use set_irq_regs
author
Matthew Wilcox
<matthew@wil.cx>
Sat, 7 Oct 2006 11:11:07 +0000
(
05:11
-0600)
committer
Matthew Wilcox
<willy@parisc-linux.org>
Sat, 7 Oct 2006 11:11:07 +0000
(
05:11
-0600)
Actually set the irq_regs pointer.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
arch/parisc/kernel/irq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/parisc/kernel/irq.c
b/arch/parisc/kernel/irq.c
index 2ece7c7939fe5ad30fa31b96ac7edf11fbd543e7..b39c5b9aff463d5efcf41dda4fe2474b27b97052 100644
(file)
--- a/
arch/parisc/kernel/irq.c
+++ b/
arch/parisc/kernel/irq.c
@@
-347,12
+347,14
@@
static inline int eirr_to_irq(unsigned long eirr)
/* ONLY called from entry.S:intr_extint() */
void do_cpu_irq_mask(struct pt_regs *regs)
{
+ struct pt_regs *old_regs;
unsigned long eirr_val;
int irq, cpu = smp_processor_id();
#ifdef CONFIG_SMP
cpumask_t dest;
#endif
+ old_regs = set_irq_regs(regs);
local_irq_disable();
irq_enter();
@@
-379,6
+381,7
@@
void do_cpu_irq_mask(struct pt_regs *regs)
out:
irq_exit();
+ set_irq_regs(old_regs);
return;
set_out: