-
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: 161747 b: refs/heads/master c: 6826a57 h: refs/heads/master i: 161745: ae42a5e 161743: 4d1b3f9 v: v3
- Loading branch information
Christoph Hellwig
authored and
Benjamin Herrenschmidt
committed
Aug 20, 2009
1 parent
441ccfe
commit 908db3b
Showing
2 changed files
with
2 additions
and
30 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: e8a5f900148d058bce2d7bdce3d6bcbcb40267ec | ||
refs/heads/master: 6826a57d1abc8ac9f59b24f1a008554c6560a995 |
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,29 +1 @@ | ||
#ifndef _ASM_POWERPC_HARDIRQ_H | ||
#define _ASM_POWERPC_HARDIRQ_H | ||
#ifdef __KERNEL__ | ||
|
||
#include <asm/irq.h> | ||
#include <asm/bug.h> | ||
|
||
/* The __last_jiffy_stamp field is needed to ensure that no decrementer | ||
* interrupt is lost on SMP machines. Since on most CPUs it is in the same | ||
* cache line as local_irq_count, it is cheap to access and is also used on UP | ||
* for uniformity. | ||
*/ | ||
typedef struct { | ||
unsigned int __softirq_pending; /* set_bit is used on this */ | ||
unsigned int __last_jiffy_stamp; | ||
} ____cacheline_aligned irq_cpustat_t; | ||
|
||
#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | ||
|
||
#define last_jiffy_stamp(cpu) __IRQ_STAT((cpu), __last_jiffy_stamp) | ||
|
||
static inline void ack_bad_irq(int irq) | ||
{ | ||
printk(KERN_CRIT "illegal vector %d received!\n", irq); | ||
BUG(); | ||
} | ||
|
||
#endif /* __KERNEL__ */ | ||
#endif /* _ASM_POWERPC_HARDIRQ_H */ | ||
#include <asm-generic/hardirq.h> |