Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375213
b: refs/heads/master
c: b1bac37
h: refs/heads/master
i:
  375211: 41372b4
v: v3
  • Loading branch information
Steven J. Hill authored and Ralf Baechle committed May 9, 2013
1 parent da44392 commit ee4383d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0131f2b2c93bc8f0b0d9d599cf72d1df76ad3f01
refs/heads/master: b1bac3734581ab6788bbfe125c62914f8d6d5e01
9 changes: 5 additions & 4 deletions trunk/arch/mips/lib/strlen_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (c) 1996, 1998, 1999, 2004 by Ralf Baechle
* Copyright (c) 1999 Silicon Graphics, Inc.
* Copyright (C) 1996, 1998, 1999, 2004 by Ralf Baechle
* Copyright (C) 1999 Silicon Graphics, Inc.
* Copyright (C) 2011 MIPS Technologies, Inc.
*/
#include <asm/asm.h>
#include <asm/asm-offsets.h>
Expand All @@ -28,9 +29,9 @@ LEAF(__strlen_user_asm)

FEXPORT(__strlen_user_nocheck_asm)
move v0, a0
1: EX(lb, t0, (v0), .Lfault)
1: EX(lbu, v1, (v0), .Lfault)
PTR_ADDIU v0, 1
bnez t0, 1b
bnez v1, 1b
PTR_SUBU v0, a0
jr ra
END(__strlen_user_asm)
Expand Down

0 comments on commit ee4383d

Please sign in to comment.