[patch 1/2] PPC64 Janitorial patch

John Rose johnrose at austin.ibm.com
Fri Aug 19 02:15:25 EST 2005


Hey Linas-
 
> -static void init_slots(void)
> +static void __init init_slots(void)
>  {
> -	struct device_node *dn;
> +	struct device_node *dn = NULL;
>  
> -	for (dn = find_all_nodes(); dn; dn = dn->next)
> +	while ((dn = of_find_all_nodes(dn)))
>  		rpaphp_add_slot(dn);
>  }

I have a pending patchset in Greg's tree that blows away init_slots()
altogether, and uses of_find_node_by_type() directly in rpaphp_init(). 
I assume he plans to move these to mainline just after 2.6.13.

I think you're safe just making the arch/ppc64 change, assuming that it
also goes in after 2.6.13.

Thanks-
John




More information about the Linuxppc64-dev mailing list