mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 00:16:44 +07:00
cbd1de2e8e
Extract xtensa built-in interrupt controller implementation from xtensa/kernel/irq.c and move it to other irqchips, providing way to instantiate it from the device tree. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
19 lines
532 B
C
19 lines
532 B
C
/*
|
|
* Xtensa built-in interrupt controller
|
|
*
|
|
* Copyright (C) 2002 - 2013 Tensilica, Inc.
|
|
* Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef __LINUX_IRQCHIP_XTENSA_PIC_H
|
|
#define __LINUX_IRQCHIP_XTENSA_PIC_H
|
|
|
|
struct device_node;
|
|
int xtensa_pic_init_legacy(struct device_node *interrupt_parent);
|
|
|
|
#endif /* __LINUX_IRQCHIP_XTENSA_PIC_H */
|