From: Wolfgang Denk Date: Fri, 17 Dec 2010 21:18:24 +0100 Subject: [U-Boot] [PATCH] powerpc: fix register usage in some inline assembly code In-Reply-To: <1292368731-3819-1-git-send-email-timur@freescale.com> References: <1292368731-3819-1-git-send-email-timur@freescale.com> Message-ID: <20101217201824.D89F1B19C@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Timur Tabi, In message <1292368731-3819-1-git-send-email-timur@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 > --- > > 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.