X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Fsn%2Farch.h;h=0faf9d7dd9a8090ea826223e818e0c5e11dc4285;hb=eb643825dab24bf61fe40ea800c5be013315220d;hp=53691562b9f45dae0c396de9e67a27f7d5adea02;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/include/asm-ia64/sn/arch.h b/include/asm-ia64/sn/arch.h index 53691562b..0faf9d7dd 100644 --- a/include/asm-ia64/sn/arch.h +++ b/include/asm-ia64/sn/arch.h @@ -20,12 +20,6 @@ typedef u64 hubreg_t; typedef u64 mmr_t; typedef u64 nic_t; -#define CNODE_TO_CPU_BASE(_cnode) (NODEPDA(_cnode)->node_first_cpu) - -#define NASID_TO_COMPACT_NODEID(nasid) (nasid_to_cnodeid(nasid)) -#define COMPACT_TO_NASID_NODEID(cnode) (cnodeid_to_nasid(cnode)) - - #define INVALID_NASID ((nasid_t)-1) #define INVALID_CNODEID ((cnodeid_t)-1) #define INVALID_PNODEID ((pnodeid_t)-1) @@ -34,9 +28,7 @@ typedef u64 nic_t; #define INVALID_PARTID ((partid_t)-1) extern cpuid_t cnodetocpu(cnodeid_t); -void sn_flush_all_caches(long addr, long bytes); - -extern int is_fine_dirmode(void); - +extern void sn_flush_all_caches(long addr, long bytes); +extern int is_fine_dirmode(void); #endif /* _ASM_IA64_SN_ARCH_H */