Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31080
b: refs/heads/master
c: f1c2662
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jun 29, 2006
1 parent e468bb6 commit 7533dc9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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: e76de9f8eb67b7acc1cc6f28c4be8583adf0a90c
refs/heads/master: f1c2662cbc6a0a9772655649bdf579803d33470b
6 changes: 3 additions & 3 deletions trunk/kernel/irq/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ handle_bad_irq(unsigned int irq, struct irq_desc *desc, struct pt_regs *regs)
struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned = {
[0 ... NR_IRQS-1] = {
.status = IRQ_DISABLED,
.chip = &no_irq_type,
.chip = &no_irq_chip,
.handle_irq = handle_bad_irq,
.depth = 1,
.lock = SPIN_LOCK_UNLOCKED,
Expand Down Expand Up @@ -79,8 +79,8 @@ static unsigned int noop_ret(unsigned int irq)
/*
* Generic no controller implementation
*/
struct hw_interrupt_type no_irq_type = {
.typename = "none",
struct irq_chip no_irq_chip = {
.name = "none",
.startup = noop_ret,
.shutdown = noop,
.enable = noop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
if (irq >= NR_IRQS)
return -EINVAL;

if (desc->chip == &no_irq_type)
if (desc->chip == &no_irq_chip)
return -ENOSYS;
/*
* Some drivers like serial.c use request_irq() heavily,
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/irq/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void register_irq_proc(unsigned int irq)
char name [MAX_NAMELEN];

if (!root_irq_dir ||
(irq_desc[irq].chip == &no_irq_type) ||
(irq_desc[irq].chip == &no_irq_chip) ||
irq_desc[irq].dir)
return;

Expand Down

0 comments on commit 7533dc9

Please sign in to comment.