Commit 80f43d70 authored by Jesse Barnes's avatar Jesse Barnes Committed by Tony Luck

[IA64-SGI] move nic_t to asm/sn/types.h

Somehow nic_t crept into arch.h.  Move it to types.h where it belongs (it
depends on u64, so pull in linux/types.h too).
Signed-off-by: default avatarJesse Barnes <jbarnes@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent e6ecef19
......@@ -22,8 +22,6 @@
*/
#define MAX_COMPACT_NODES 2048
typedef u64 nic_t;
extern void sn_flush_all_caches(long addr, long bytes);
#endif /* _ASM_IA64_SN_ARCH_H */
......@@ -9,13 +9,15 @@
#ifndef _ASM_IA64_SN_TYPES_H
#define _ASM_IA64_SN_TYPES_H
#include <linux/types.h>
typedef unsigned long cpuid_t;
typedef signed short nasid_t; /* node id in numa-as-id space */
typedef signed char partid_t; /* partition ID type */
typedef unsigned int moduleid_t; /* user-visible module number type */
typedef unsigned int cmoduleid_t; /* kernel compact module id type */
typedef signed char slabid_t;
typedef u64 nic_t;
typedef unsigned long iopaddr_t;
typedef unsigned long paddr_t;
typedef short cnodeid_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment