Commit 291df91ced2ae56572a1c8b96311be31f2cba659

Con Kolivas 2013-06-13T12:18:02

Tidy up DEVLOCK/UNLOCK to have consistent use of the pstate variable without needing brace level match.