mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
7034228792
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
40 lines
766 B
C
40 lines
766 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) 2003 by Ralf Baechle
|
|
*/
|
|
#ifndef __ASM_MACH_GENERIC_IRQ_H
|
|
#define __ASM_MACH_GENERIC_IRQ_H
|
|
|
|
#ifndef NR_IRQS
|
|
#define NR_IRQS 128
|
|
#endif
|
|
|
|
#ifdef CONFIG_I8259
|
|
#ifndef I8259A_IRQ_BASE
|
|
#define I8259A_IRQ_BASE 0
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_IRQ_CPU
|
|
|
|
#ifndef MIPS_CPU_IRQ_BASE
|
|
#ifdef CONFIG_I8259
|
|
#define MIPS_CPU_IRQ_BASE 16
|
|
#else
|
|
#define MIPS_CPU_IRQ_BASE 0
|
|
#endif /* CONFIG_I8259 */
|
|
#endif
|
|
|
|
#ifdef CONFIG_IRQ_CPU_RM7K
|
|
#ifndef RM7K_CPU_IRQ_BASE
|
|
#define RM7K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+8)
|
|
#endif
|
|
#endif
|
|
|
|
#endif /* CONFIG_IRQ_CPU */
|
|
|
|
#endif /* __ASM_MACH_GENERIC_IRQ_H */
|