diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2011-01-22 11:32:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-16 18:19:01 -0700 |
commit | d4d1ec48c4b1568338931bf8e7833543b78ec9d5 (patch) | |
tree | b57dd12f56389c760854e253ddd1065453d056a9 /arch/sparc/kernel/irq_64.c | |
parent | 9f2264aca01888999d3946bd3ce1209b199c6e5d (diff) | |
download | kernel_samsung_smdk4412-d4d1ec48c4b1568338931bf8e7833543b78ec9d5.zip kernel_samsung_smdk4412-d4d1ec48c4b1568338931bf8e7833543b78ec9d5.tar.gz kernel_samsung_smdk4412-d4d1ec48c4b1568338931bf8e7833543b78ec9d5.tar.bz2 |
sparc: in handler_irq() rename irq parameter to pil
The generic irq support uses "irq" to identify the
virtual irq number. To avoid confusion rename the
argument to handler_irq() to pil to match the
name of the parameter in the PCR register.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/irq_64.c')
-rw-r--r-- | arch/sparc/kernel/irq_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/irq_64.c b/arch/sparc/kernel/irq_64.c index ee67dae..d4d1233 100644 --- a/arch/sparc/kernel/irq_64.c +++ b/arch/sparc/kernel/irq_64.c @@ -714,13 +714,13 @@ void ack_bad_irq(unsigned int virt_irq) void *hardirq_stack[NR_CPUS]; void *softirq_stack[NR_CPUS]; -void __irq_entry handler_irq(int irq, struct pt_regs *regs) +void __irq_entry handler_irq(int pil, struct pt_regs *regs) { unsigned long pstate, bucket_pa; struct pt_regs *old_regs; void *orig_sp; - clear_softint(1 << irq); + clear_softint(1 << pil); old_regs = set_irq_regs(regs); irq_enter(); |