-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 181898 b: refs/heads/master c: 8c007bf h: refs/heads/master v: v3
- Loading branch information
Anton Blanchard
authored and
Benjamin Herrenschmidt
committed
Feb 17, 2010
1 parent
12e2967
commit 0b1bc49
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 8d3d50bf1913561ef3b1f5b53115c5a481ba9b1e | ||
refs/heads/master: 8c007bfdf1bab536f824d91fccc76596c18aba78 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
#include <asm-generic/hardirq.h> | ||
#ifndef _ASM_POWERPC_HARDIRQ_H | ||
#define _ASM_POWERPC_HARDIRQ_H | ||
|
||
#include <linux/threads.h> | ||
#include <linux/irq.h> | ||
|
||
typedef struct { | ||
unsigned int __softirq_pending; | ||
} ____cacheline_aligned irq_cpustat_t; | ||
|
||
DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); | ||
|
||
#define __ARCH_IRQ_STAT | ||
|
||
#define local_softirq_pending() __get_cpu_var(irq_stat).__softirq_pending | ||
|
||
static inline void ack_bad_irq(unsigned int irq) | ||
{ | ||
printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); | ||
} | ||
|
||
#endif /* _ASM_POWERPC_HARDIRQ_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters