Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 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: e8a5f900148d058bce2d7bdce3d6bcbcb40267ec
refs/heads/master: 6826a57d1abc8ac9f59b24f1a008554c6560a995
30 changes: 1 addition & 29 deletions trunk/arch/powerpc/include/asm/hardirq.h
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>

0 comments on commit 908db3b

Please sign in to comment.