On clone, set TLS pointer if requested.
Use more compact sequence for re-enabling interrupts
Merge branch 'master' into qemu