linux-gen: init: removing possible obsolete ODP files at startup
linux-gen: init: removing possible obsolete ODP files at startup

When an ODP program is killed, some odp files may remain in /tmp and
the huge page mount point. As signal KILL cannot be caught, there is not
much one can do to prevent that.
But when an new odp session is started, all files prefixed with the opd
prefix ("odp-<PID>-") can be safely removed as the PID is unique and
therefore, there cannot be another ODP instance with the same PID.
This patch does this cleanup at startup.

Signed-off-by: Christophe Milard <99616a981fa4477cda708a70f78076761c0c9f1c@linaro.org>
Reviewed-and-tested-by: Bill Fischofer <52f3c909d51cc5d355a68a403df6906b3c1a8f83@linaro.org>
Signed-off-by: Maxim Uvarov <db4d16e02ae2d7493db430203537da8b2e34f290@linaro.org>

nmorey/odp,ravineet-singh/odp,dkrot/odp,ravineet-singh/odp,nmorey/odp,erachmi/odp,erachmi/odp,nmorey/odp,dkrot/odp,mike-holmes-linaro/odp,dkrot/odp,dkrot/odp,nmorey/odp,ravineet-singh/odp,mike-holmes-linaro/odp,erachmi/odp,ravineet-singh/odp,mike-holmes-linaro/odp,erachmi/odp,mike-holmes-linaro/odp