/* hardirq.h: FRV hardware IRQ management1*2* Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.3* Written by David Howells ([email protected])4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public License7* as published by the Free Software Foundation; either version8* 2 of the License, or (at your option) any later version.9*/1011#ifndef __ASM_HARDIRQ_H12#define __ASM_HARDIRQ_H1314#include <asm/atomic.h>1516extern atomic_t irq_err_count;17static inline void ack_bad_irq(int irq)18{19atomic_inc(&irq_err_count);20}21#define ack_bad_irq ack_bad_irq2223#include <asm-generic/hardirq.h>2425#endif262728