]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Fix some Niagara memcpy() bugs.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 11 Feb 2006 18:30:41 +0000 (10:30 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:20 +0000 (01:12 -0800)
commit16837ad0184bdc11ef58320e673cf0eb06b0b799
treee43b03a266da9786355941246b77f30058e7058d
parentbf24f32e9d2306fb5a181338ec427cbc3b29f6db
[SPARC64]: Fix some Niagara memcpy() bugs.

We need to restore the %asi register properly.
For the kernel this means get_fs(), for user this
means ASI_PNF.

Also, NGcopy_to_user.S was including U3memcpy.S instead
of NGmemcpy.S, oops :-)

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