[PATCH 7/16] xics: initialization cleanups
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon Oct 13 11:55:04 EST 2008
> static void __init xics_init_one_node(struct device_node *np,
> @@ -700,8 +694,10 @@ void __init xics_init_IRQ(void)
>
> for_each_node_by_type(np, "PowerPC-External-Interrupt-Presentation") {
> found = 1;
> - if (firmware_has_feature(FW_FEATURE_LPAR))
> + if (firmware_has_feature(FW_FEATURE_LPAR)) {
> + of_node_put(np);
> break;
> + }
Little tab damage up here... no big deal.
> xics_init_one_node(np, &indx);
> }
> if (found == 0
More information about the Linuxppc-dev
mailing list