]> git.hungrycats.org Git - linux/commit
[SPARC64]: Fix bugs in new U1memcpy code.
authorDavid S. Miller <davem@nuts.davemloft.net>
Mon, 23 Aug 2004 07:34:58 +0000 (00:34 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Mon, 23 Aug 2004 07:34:58 +0000 (00:34 -0700)
commite3c47cfbd98904099675efcf4e6b477606f3dfa1
tree5daa066d7bedd6517dda35685c3f8386de51559a
parent2657fd8f6d127724b07e737395767feb14defe0c
[SPARC64]: Fix bugs in new U1memcpy code.

- U1copy_from_user needs PREAMBLE since it uses
  explicit ASI_BLK_AIUS references.
- Need to use EX_RETVAL() in U1memcpy.S
- U1memcpy.S can load one 64-bit word too
  many, passing the source buffer boundary
  and thus potentially causing exceptions.

Signed-off-by: David S. Miller <davem@redhat.com>
arch/sparc64/lib/U1copy_from_user.S
arch/sparc64/lib/U1memcpy.S