aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn/intr.h
blob: 36e3af325cc94e0ff048c56978ee3c6a6019c474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* $Id$
 *
 * 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) 1992 - 1997, 2000-2002 Silicon Graphics, Inc. All rights reserved.
 */
#ifndef _ASM_IA64_SN_INTR_H
#define _ASM_IA64_SN_INTR_H

#include <linux/config.h>

#if defined(CONFIG_IA64_SGI_SN1)
#include <asm/sn/sn1/intr.h>
#elif defined(CONFIG_IA64_SGI_SN2)
#include <asm/sn/sn2/intr.h>
#endif

extern void sn_send_IPI_phys(long, int, int);

#define CPU_VECTOR_TO_IRQ(cpuid,vector) ((cpuid) << 8 | (vector))

#endif /* _ASM_IA64_SN_INTR_H */