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
8 * Copyright (C) 1995 - 1997, 1999 Silcon Graphics, Inc.
9 * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
11 #ifndef _ASM_SN_ARCH_H
12 #define _ASM_SN_ARCH_H
14 #include <linux/types.h>
15 #include <asm/sn/types.h>
16 #ifdef CONFIG_SGI_IP27
17 #include <asm/sn/sn0/arch.h>
20 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid)
21 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice)
23 #define INVALID_NASID (nasid_t)-1
24 #define INVALID_PNODEID (pnodeid_t)-1
25 #define INVALID_MODULE (moduleid_t)-1
26 #define INVALID_PARTID (partid_t)-1
28 #endif /* _ASM_SN_ARCH_H */