]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Don't use in/local regs for ldx/stx data in N1 memcpy.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 2 Oct 2007 23:17:17 +0000 (16:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 2 Oct 2007 23:17:17 +0000 (16:17 -0700)
commita4aa2e867c5d696c0f249ad8d63d0d983b4ffaf9
treec9e89ccf9cb6ae2e054b9dfad5d2f295edaf8541
parentf778089cb2445dfc6dfd30a7a567925fd8589f1e
[SPARC64]: Don't use in/local regs for ldx/stx data in N1 memcpy.

It doesn't matter for use in 64-bit objects, but when used in
32-bit environments the top 32-bits of the local and in
registers will get chopped off on the next register window
spill/restore which leads to difficult to track down and
subtle bugs.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/lib/NGmemcpy.S