mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-07 16:26:40 +07:00
173d668138
The Xtensa port contained many header files that were never needed. This rather lengthy patch removes all those files. Unfortunately, there were many dependencies that needed to be updated, so this patch touches quite a few source files. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
31 lines
641 B
C
31 lines
641 B
C
/*
|
|
* include/asm-xtensa/irq.h
|
|
*
|
|
* 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) 2001 - 2005 Tensilica Inc.
|
|
*/
|
|
|
|
#ifndef _XTENSA_IRQ_H
|
|
#define _XTENSA_IRQ_H
|
|
|
|
#include <asm/platform/hardware.h>
|
|
#include <asm/variant/core.h>
|
|
|
|
#ifndef PLATFORM_NR_IRQS
|
|
# define PLATFORM_NR_IRQS 0
|
|
#endif
|
|
#define XTENSA_NR_IRQS XCHAL_NUM_INTERRUPTS
|
|
#define NR_IRQS (XTENSA_NR_IRQS + PLATFORM_NR_IRQS)
|
|
|
|
static __inline__ int irq_canonicalize(int irq)
|
|
{
|
|
return (irq);
|
|
}
|
|
|
|
struct irqaction;
|
|
|
|
#endif /* _XTENSA_IRQ_H */
|