Skip to content

Commit

Permalink
um: convert to asm-generic/hardirq.h
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Christoph Hellwig authored and Linus Torvalds committed Sep 22, 2009
1 parent 672917d commit db4e5cb
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions arch/um/include/asm/hardirq.h
Original file line number Diff line number Diff line change
@@ -1,25 +1 @@
/* (c) 2004 cw@f00f.org, GPLv2 blah blah */

#ifndef __ASM_UM_HARDIRQ_H
#define __ASM_UM_HARDIRQ_H

#include <linux/threads.h>
#include <linux/irq.h>

/* NOTE: When SMP works again we might want to make this
* ____cacheline_aligned or maybe use per_cpu state? --cw */
typedef struct {
unsigned int __softirq_pending;
} irq_cpustat_t;

#include <linux/irq_cpustat.h>

/* As this would be very strange for UML to get we BUG() after the
* printk. */
static inline void ack_bad_irq(unsigned int irq)
{
printk(KERN_ERR "unexpected IRQ %02x\n", irq);
BUG();
}

#endif /* __ASM_UM_HARDIRQ_H */
#include <asm-generic/hardirq.h>

0 comments on commit db4e5cb

Please sign in to comment.