> So I would have to do a special case on unplug:
> 
>       if (slot->dt_is_overlay) /* set to false at boot */
>               remove_subtree_myself();
>       else
>               undo_overlay(slot->overlay);

Of course I just inverted the polarity of the if () in the example :-)

But you get the idea...


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to