Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31743
b: refs/heads/master
c: 284c668
h: refs/heads/master
i:
  31741: 495a785
  31739: 10a0395
  31735: d7cfeb3
  31727: c84161b
  31711: a87f166
  31679: ce0e63d
  31615: 180fc82
  31487: ca506e3
  31231: 8958b5c
  30719: 9991833
v: v3
  • Loading branch information
Thomas Gleixner authored and Linus Torvalds committed Jul 3, 2006
1 parent 6200d3d commit 8db48ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 52e405eaa9806968e88b35d65e57acad954a5ab5
refs/heads/master: 284c66806eb6df7f5c66d298681f1abe81a5a9ab
2 changes: 2 additions & 0 deletions trunk/include/linux/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#define IRQF_SHARED 0x00000080
#define IRQF_PROBE_SHARED 0x00000100
#define IRQF_TIMER 0x00000200
#define IRQF_PERCPU 0x00000400

/*
* Migration helpers. Scheduled for removal in 1/2007
Expand All @@ -54,6 +55,7 @@
#define SA_SAMPLE_RANDOM IRQF_SAMPLE_RANDOM
#define SA_SHIRQ IRQF_SHARED
#define SA_PROBEIRQ IRQF_PROBE_SHARED
#define SA_PERCPU IRQF_PERCPU

#define SA_TRIGGER_LOW IRQF_TRIGGER_LOW
#define SA_TRIGGER_HIGH IRQF_TRIGGER_HIGH
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
((old->flags ^ new->flags) & IRQF_TRIGGER_MASK))
goto mismatch;

#if defined(CONFIG_IRQ_PER_CPU) && defined(IRQF_PERCPU)
#if defined(CONFIG_IRQ_PER_CPU)
/* All handlers must agree on per-cpuness */
if ((old->flags & IRQF_PERCPU) !=
(new->flags & IRQF_PERCPU))
Expand All @@ -250,7 +250,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
}

*p = new;
#if defined(CONFIG_IRQ_PER_CPU) && defined(IRQF_PERCPU)
#if defined(CONFIG_IRQ_PER_CPU)
if (new->flags & IRQF_PERCPU)
desc->status |= IRQ_PER_CPU;
#endif
Expand Down

0 comments on commit 8db48ef

Please sign in to comment.