- * macros for some of these exist in sn/addrs.h & sn/arch.h, etc. However,
- * trying #include these files here causes circular dependencies.
- */
-#define cpu_physical_id_to_nasid(cpi) ((cpi) &0xfff)
-#define cpu_physical_id_to_slice(cpi) ((cpi>>12) & 3)
-#define get_nasid() ((ia64_getreg(_IA64_REG_CR_LID) >> 16) & 0xfff)
-#define get_slice() ((ia64_getreg(_IA64_REG_CR_LID) >> 28) & 0xf)
-#define get_node_number(addr) (((unsigned long)(addr)>>38) & 0x7ff)
-
-/*
- * NOTE: id & eid refer to Intel's definitions of the LID register
- *