[PATCH] Unify pxm_to_node() and node_to_pxm()