Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
30 lines
823 B
C
30 lines
823 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 2008 Kevin D. Kissell
|
|
*/
|
|
|
|
/*
|
|
* Definitions used for common event timer implementation
|
|
* for MIPS 4K-type processors and their MIPS MT variants.
|
|
* Avoids unsightly extern declarations in C files.
|
|
*/
|
|
#ifndef __ASM_CEVT_R4K_H
|
|
#define __ASM_CEVT_R4K_H
|
|
|
|
#include <linux/clockchips.h>
|
|
#include <asm/time.h>
|
|
|
|
DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device);
|
|
|
|
void mips_event_handler(struct clock_event_device *dev);
|
|
int c0_compare_int_usable(void);
|
|
irqreturn_t c0_compare_interrupt(int, void *);
|
|
|
|
extern struct irqaction c0_compare_irqaction;
|
|
extern int cp0_timer_irq_installed;
|
|
|
|
#endif /* __ASM_CEVT_R4K_H */
|