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
6 * Copyright (C) 1999 Silicon Graphics, Inc.
7 * Copyright (C) 1999 by Ralf Baechle
9 #ifndef _ASM_SN_TYPES_H
10 #define _ASM_SN_TYPES_H
12 #include <linux/config.h>
13 #include <linux/types.h>
15 typedef unsigned long cpuid_t;
16 typedef unsigned long cpumask_t;
17 /* typedef unsigned long cnodemask_t; */
18 typedef signed short nasid_t; /* node id in numa-as-id space */
19 typedef signed short cnodeid_t; /* node id in compact-id space */
20 typedef signed char partid_t; /* partition ID type */
21 typedef signed short moduleid_t; /* user-visible module number type */
22 typedef signed short cmoduleid_t; /* kernel compact module id type */
23 typedef unsigned char clusterid_t; /* Clusterid of the cell */
25 #if defined(CONFIG_IA64_SGI_IO)
26 #define __psunsigned_t uint64_t
27 #define lock_t uint64_t
30 typedef unsigned long iopaddr_t;
31 typedef unsigned char uchar_t;
32 typedef unsigned long paddr_t;
33 typedef unsigned long pfn_t;
34 #endif /* CONFIG_IA64_SGI_IO */
36 #endif /* _ASM_SN_TYPES_H */