Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362309
b: refs/heads/master
c: e20800f
h: refs/heads/master
i:
  362307: 78c64b0
v: v3
  • Loading branch information
Will Deacon authored and Linus Torvalds committed Apr 7, 2013
1 parent 4692903 commit e749a5c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd8d2331756751b6aeb855a3c9cb0a92fbd9c725
refs/heads/master: e20800fd5cec2a75639a32e956b1cdc023cb87ce
7 changes: 0 additions & 7 deletions trunk/arch/alpha/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@ handle_irq(int irq)
return;
}

/*
* From here we must proceed with IPL_MAX. Note that we do not
* explicitly enable interrupts afterwards - some MILO PALcode
* (namely LX164 one) seems to have severe problems with RTI
* at IPL 0.
*/
local_irq_disable();
irq_enter();
generic_handle_irq_desc(irq, desc);
irq_exit();
Expand Down
9 changes: 8 additions & 1 deletion trunk/arch/alpha/kernel/irq_alpha.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ do_entInt(unsigned long type, unsigned long vector,
unsigned long la_ptr, struct pt_regs *regs)
{
struct pt_regs *old_regs;

/*
* Disable interrupts during IRQ handling.
* Note that there is no matching local_irq_enable() due to
* severe problems with RTI at IPL0 and some MILO PALcode
* (namely LX164).
*/
local_irq_disable();
switch (type) {
case 0:
#ifdef CONFIG_SMP
Expand All @@ -62,7 +70,6 @@ do_entInt(unsigned long type, unsigned long vector,
{
long cpu;

local_irq_disable();
smp_percpu_timer_interrupt(regs);
cpu = smp_processor_id();
if (cpu != boot_cpuid) {
Expand Down

0 comments on commit e749a5c

Please sign in to comment.