/* Select the stack unwinder with the best rating. This is useful for setting up curr_unwinder.  */
static struct unwinder* select_unwinder(void)
/* Select the stack unwinder with the best rating. This is useful for setting up curr_unwinder.  */
static struct unwinder* select_unwinder(void)
{
	struct unwinder *best;
	if (list_empty(&unwinder_list))
		return NULL;
	best = list_entry(unwinder_list.next, struct unwinder, list);
	if (best == curr_unwinder)
		return NULL;
	return best;
}