move nic_t to asm/sn/types.h
PATCH 1/1 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 Jesse Barnes <[email protected]>
Thanks,
Jesse
include/asm-ia64/sn/arch.h +0 -2
@@ -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 */
include/asm-ia64/sn/types.h +3 -1
@@ -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 ;