/*1* This file is subject to the terms and conditions of the GNU General Public2* License. See the file "COPYING" in the main directory of this archive3* for more details.4*5* Copyright (C) 2008 Kevin D. Kissell6*/78/*9* Definitions used for common event timer implementation10* for MIPS 4K-type processors and their MIPS MT variants.11* Avoids unsightly extern declarations in C files.12*/13#ifndef __ASM_CEVT_R4K_H14#define __ASM_CEVT_R4K_H1516#include <linux/clockchips.h>17#include <asm/time.h>1819DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device);2021void mips_event_handler(struct clock_event_device *dev);22int c0_compare_int_usable(void);23irqreturn_t c0_compare_interrupt(int, void *);2425extern struct irqaction c0_compare_irqaction;26extern int cp0_timer_irq_installed;2728#endif /* __ASM_CEVT_R4K_H */293031