[U-Boot] [PATCH] powerpc: fix register usage in some inline assembly code

Wolfgang Denk wd at denx.de
Fri Dec 17 21:18:24 CET 2010


Dear Timur Tabi,

In message <1292368731-3819-1-git-send-email-timur at freescale.com> you wrote:
> In some usages of inline assembly, hard-coded registers were specified when a
> scratch register should have been used instead.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 
> I can't test the kgdb changes, but the rest appears to be okay.
> 
>  arch/powerpc/lib/kgdb.c |   25 +++++++++++++++----------
>  arch/powerpc/lib/time.c |    5 ++++-
>  2 files changed, 19 insertions(+), 11 deletions(-)

Applied to "next", thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every program has at least one bug and can be shortened by  at  least
one  instruction  --  from  which,  by induction, one can deduce that
every program can be reduced to one instruction which doesn't work.


More information about the U-Boot mailing list