Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217507
b: refs/heads/master
c: be76d81
h: refs/heads/master
i:
  217505: ae93639
  217503: 06c4414
v: v3
  • Loading branch information
Richard Weinberger authored and Linus Torvalds committed Oct 26, 2010
1 parent 0bdf456 commit 4b28012
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 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: aa5fb4dbfd121296ca97c68cf90043a7ea97579d
refs/heads/master: be76d81f99c4c120adcd201a7316e4dd7dbe3c11
3 changes: 3 additions & 0 deletions trunk/arch/um/Kconfig.um
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ config SMP

If you don't know what to do, say N.

config GENERIC_HARDIRQS_NO__DO_IRQ
def_bool y

config NR_CPUS
int "Maximum number of CPUs (2-32)"
range 2 32
Expand Down
15 changes: 4 additions & 11 deletions trunk/arch/um/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ unsigned int do_IRQ(int irq, struct uml_pt_regs *regs)
{
struct pt_regs *old_regs = set_irq_regs((struct pt_regs *)regs);
irq_enter();
__do_IRQ(irq);
generic_handle_irq(irq);
irq_exit();
set_irq_regs(old_regs);
return 1;
Expand Down Expand Up @@ -391,17 +391,10 @@ void __init init_IRQ(void)
{
int i;

irq_desc[TIMER_IRQ].status = IRQ_DISABLED;
irq_desc[TIMER_IRQ].action = NULL;
irq_desc[TIMER_IRQ].depth = 1;
irq_desc[TIMER_IRQ].chip = &SIGVTALRM_irq_type;
enable_irq(TIMER_IRQ);
set_irq_chip_and_handler(TIMER_IRQ, &SIGVTALRM_irq_type, handle_edge_irq);

for (i = 1; i < NR_IRQS; i++) {
irq_desc[i].status = IRQ_DISABLED;
irq_desc[i].action = NULL;
irq_desc[i].depth = 1;
irq_desc[i].chip = &normal_irq_type;
enable_irq(i);
set_irq_chip_and_handler(i, &normal_irq_type, handle_edge_irq);
}
}

Expand Down

0 comments on commit 4b28012

Please sign in to comment.