Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * SGI specific setup.
0007  *
0008  * Copyright (C) 1995 - 1997, 1999 Silcon Graphics, Inc.
0009  * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
0010  */
0011 #ifndef _ASM_SN_ARCH_H
0012 #define _ASM_SN_ARCH_H
0013 
0014 #include <linux/types.h>
0015 #include <asm/sn/types.h>
0016 #ifdef CONFIG_SGI_IP27
0017 #include <asm/sn/sn0/arch.h>
0018 #endif
0019 
0020 #define cputonasid(cpu)     (sn_cpu_info[(cpu)].p_nasid)
0021 #define cputoslice(cpu)     (sn_cpu_info[(cpu)].p_slice)
0022 
0023 #define INVALID_NASID       (nasid_t)-1
0024 #define INVALID_PNODEID     (pnodeid_t)-1
0025 #define INVALID_MODULE      (moduleid_t)-1
0026 #define INVALID_PARTID      (partid_t)-1
0027 
0028 #endif /* _ASM_SN_ARCH_H */