Skip to content

Commit

Permalink
h8300: 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: Yoshinori Sato <ysato@users.sourceforge.jp>
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 eb8cdec commit 6e0c9e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
15 changes: 3 additions & 12 deletions arch/h8300/include/asm/hardirq.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
#ifndef __H8300_HARDIRQ_H
#define __H8300_HARDIRQ_H

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

typedef struct {
unsigned int __softirq_pending;
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */

extern void ack_bad_irq(unsigned int irq);
#include <asm/irq.h>

#define HARDIRQ_BITS 8

Expand All @@ -25,4 +14,6 @@ extern void ack_bad_irq(unsigned int irq);
# error HARDIRQ_BITS is too low!
#endif

#include <asm-generic/hardirq.h>

#endif
5 changes: 0 additions & 5 deletions arch/h8300/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ struct irq_chip h8300irq_chip = {
.end = h8300_end_irq,
};

void ack_bad_irq(unsigned int irq)
{
printk("unexpected IRQ trap at vector %02x\n", irq);
}

#if defined(CONFIG_RAMKERNEL)
static unsigned long __init *get_vector_address(void)
{
Expand Down

0 comments on commit 6e0c9e7

Please sign in to comment.