On Thu, 2008-05-08 at 14:23 +1000, Michael Ellerman wrote: > +void irq_free_host(struct irq_host *host) > +{ > + /* If it's still very early in boot we can't free, oh well. */ > + if (mem_init_done) > + kfree(host); > +}
Hrm... that means that a host that was allocated before mem_init_done and freed later will call kfree on memory obtained from bootmem... no good. In which case do we need to free and irq host other than failure in irq_alloc_host ? Cheers, Ben. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev