36e3af325cc94e0ff048c56978ee3c6a6019c474
[linux-flexiantxendom0-3.2.10.git] / include / asm-ia64 / sn / intr.h
1 /* $Id$
2  *
3  * This file is subject to the terms and conditions of the GNU General Public
4  * License.  See the file "COPYING" in the main directory of this archive
5  * for more details.
6  *
7  * Copyright (C) 1992 - 1997, 2000-2002 Silicon Graphics, Inc. All rights reserved.
8  */
9 #ifndef _ASM_IA64_SN_INTR_H
10 #define _ASM_IA64_SN_INTR_H
11
12 #include <linux/config.h>
13
14 #if defined(CONFIG_IA64_SGI_SN1)
15 #include <asm/sn/sn1/intr.h>
16 #elif defined(CONFIG_IA64_SGI_SN2)
17 #include <asm/sn/sn2/intr.h>
18 #endif
19
20 extern void sn_send_IPI_phys(long, int, int);
21
22 #define CPU_VECTOR_TO_IRQ(cpuid,vector) ((cpuid) << 8 | (vector))
23
24 #endif /* _ASM_IA64_SN_INTR_H */