Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299706
b: refs/heads/master
c: 9f3045e
h: refs/heads/master
v: v3
  • Loading branch information
Paul Gortmaker committed Apr 23, 2012
1 parent fce5ff9 commit feed3c5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 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: bfae8ee8d28e6a4ac1d63e8077cb09928d8a557a
refs/heads/master: 9f3045eca89a2e6fdd1901aafb9e28231d3f31fb
38 changes: 19 additions & 19 deletions trunk/kernel/irq/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

#include <linux/kallsyms.h>

#define P(f) if (desc->status_use_accessors & f) printk("%14s set\n", #f)
#define PS(f) if (desc->istate & f) printk("%14s set\n", #f)
#define ___P(f) if (desc->status_use_accessors & f) printk("%14s set\n", #f)
#define ___PS(f) if (desc->istate & f) printk("%14s set\n", #f)
/* FIXME */
#define PD(f) do { } while (0)
#define ___PD(f) do { } while (0)

static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc)
{
Expand All @@ -23,23 +23,23 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc)
print_symbol("%s\n", (unsigned long)desc->action->handler);
}

P(IRQ_LEVEL);
P(IRQ_PER_CPU);
P(IRQ_NOPROBE);
P(IRQ_NOREQUEST);
P(IRQ_NOTHREAD);
P(IRQ_NOAUTOEN);
___P(IRQ_LEVEL);
___P(IRQ_PER_CPU);
___P(IRQ_NOPROBE);
___P(IRQ_NOREQUEST);
___P(IRQ_NOTHREAD);
___P(IRQ_NOAUTOEN);

PS(IRQS_AUTODETECT);
PS(IRQS_REPLAY);
PS(IRQS_WAITING);
PS(IRQS_PENDING);
___PS(IRQS_AUTODETECT);
___PS(IRQS_REPLAY);
___PS(IRQS_WAITING);
___PS(IRQS_PENDING);

PD(IRQS_INPROGRESS);
PD(IRQS_DISABLED);
PD(IRQS_MASKED);
___PD(IRQS_INPROGRESS);
___PD(IRQS_DISABLED);
___PD(IRQS_MASKED);
}

#undef P
#undef PS
#undef PD
#undef ___P
#undef ___PS
#undef ___PD

0 comments on commit feed3c5

Please sign in to comment.