1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * This file is subject to the terms and conditions of the GNU General Public 3*4882a593Smuzhiyun * License. See the file "COPYING" in the main directory of this archive 4*4882a593Smuzhiyun * for more details. 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * SGI specific setup. 7*4882a593Smuzhiyun * 8*4882a593Smuzhiyun * Copyright (C) 1995 - 1997, 1999 Silcon Graphics, Inc. 9*4882a593Smuzhiyun * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) 10*4882a593Smuzhiyun */ 11*4882a593Smuzhiyun #ifndef _ASM_SN_ARCH_H 12*4882a593Smuzhiyun #define _ASM_SN_ARCH_H 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun #include <linux/types.h> 15*4882a593Smuzhiyun #include <asm/sn/types.h> 16*4882a593Smuzhiyun #ifdef CONFIG_SGI_IP27 17*4882a593Smuzhiyun #include <asm/sn/sn0/arch.h> 18*4882a593Smuzhiyun #endif 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) 21*4882a593Smuzhiyun #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun #define INVALID_NASID (nasid_t)-1 24*4882a593Smuzhiyun #define INVALID_PNODEID (pnodeid_t)-1 25*4882a593Smuzhiyun #define INVALID_MODULE (moduleid_t)-1 26*4882a593Smuzhiyun #define INVALID_PARTID (partid_t)-1 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun #endif /* _ASM_SN_ARCH_H */ 29