travisg/lk — pull request #8 by zeusk (2012-10-28 09:29:03+00:00)
Title: Fix ordering for interrupt disable/enable routine

When exiting a critical section, compiler must store back all scratch registers before interrupts are enabled.
Also prevent reordering of cpsr changes when function is inlined.