From: chris.hyser@xxxxxxxxxx Date: Thu, 09 Apr 2015 15:14:35 -0400 > +static void set_sock_ids(struct mdesc_handle *hp) > +{ > + u64 mp; > + > + /* If machine description exposes sockets data use it. > + * Otherwise fallback to use L3 cache > + */ > + mp = mdesc_node_by_name(hp, MDESC_NODE_NULL, "sockets"); > + if (mp == MDESC_NODE_NULL) > + return set_sock_ids_by_cache(hp, mp); > + > + return set_sock_ids_by_socket(hp, mp); > +} > + How will this work on T3, T2, and T1 which all neither have the "socket" mdesc nodes nor level 3 caches? -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html