msm: scm: Fix improper register assignment
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 24 Feb 2011 18:44:43 +0000 (10:44 -0800)
committerDavid Brown <davidb@codeaurora.org>
Thu, 10 Mar 2011 20:01:37 +0000 (12:01 -0800)
commit98d4ded60bda17a9ffecd902b03deac52922b788
tree62cc7c393d8d560fbb7bcbe9d29071b3215107b8
parent7e1a68abaef094d5927ffe76bce21d6d8aa87bcb
msm: scm: Fix improper register assignment

Assign the registers used in the inline assembly immediately
before the inline assembly block. This ensures the compiler
doesn't optimize away dead register assignments when it
shouldn't.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/scm.c