aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn/types.h
blob: acc56951766c2717cdb26fdca61e5e1d6507e731 (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
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * 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) 1999,2001-2002 Silicon Graphics, Inc.  All Rights Reserved.
 * Copyright (C) 1999 by Ralf Baechle
 */
#ifndef _ASM_IA64_SN_TYPES_H
#define _ASM_IA64_SN_TYPES_H

#include <linux/config.h>
#include <linux/types.h>

typedef unsigned long 	cpuid_t;
typedef unsigned long 	cpumask_t;
typedef signed short	nasid_t;	/* node id in numa-as-id space */
typedef signed char	partid_t;	/* partition ID type */
#ifdef CONFIG_IA64_SGI_SN2
typedef unsigned int    moduleid_t;     /* user-visible module number type */
typedef unsigned int    cmoduleid_t;    /* kernel compact module id type */
#else
typedef signed short	moduleid_t;	/* user-visible module number type */
typedef signed short	cmoduleid_t;	/* kernel compact module id type */
#endif
typedef signed char slabid_t;
typedef unsigned char	clusterid_t;	/* Clusterid of the cell */

typedef uint64_t __psunsigned_t;

typedef unsigned long iopaddr_t;
typedef unsigned char uchar_t;
typedef unsigned long paddr_t;
typedef unsigned long pfn_t;

#endif /* _ASM_IA64_SN_TYPES_H */