* Fix mmap leak in malloc code upon state transfer
* arm:replace ifdef's by runtime checks in the lan8710a driver.