drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / mips / include / asm / mach-generic / irq.h
blob4249af4bef845132961dd1a6008af9e61eefa237
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (C) 2003 by Ralf Baechle
7 */
8 #ifndef __ASM_MACH_GENERIC_IRQ_H
9 #define __ASM_MACH_GENERIC_IRQ_H
11 #ifndef NR_IRQS
12 #define NR_IRQS 256
13 #endif
15 #ifdef CONFIG_I8259
16 #ifndef I8259A_IRQ_BASE
17 #define I8259A_IRQ_BASE 0
18 #endif
19 #endif
21 #ifdef CONFIG_IRQ_MIPS_CPU
23 #ifndef MIPS_CPU_IRQ_BASE
24 #ifdef CONFIG_I8259
25 #define MIPS_CPU_IRQ_BASE 16
26 #else
27 #define MIPS_CPU_IRQ_BASE 0
28 #endif /* CONFIG_I8259 */
29 #endif
31 #endif /* CONFIG_IRQ_MIPS_CPU */
33 #endif /* __ASM_MACH_GENERIC_IRQ_H */