Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7e5b24ac
Commit
7e5b24ac
authored
Jan 31, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Remove buggy inline version of memscan.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
9bbf28a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
include/asm-mips/string.h
include/asm-mips/string.h
+0
-22
No files found.
include/asm-mips/string.h
View file @
7e5b24ac
...
@@ -141,26 +141,4 @@ extern void *memcpy(void *__to, __const__ void *__from, size_t __n);
...
@@ -141,26 +141,4 @@ extern void *memcpy(void *__to, __const__ void *__from, size_t __n);
#define __HAVE_ARCH_MEMMOVE
#define __HAVE_ARCH_MEMMOVE
extern
void
*
memmove
(
void
*
__dest
,
__const__
void
*
__src
,
size_t
__n
);
extern
void
*
memmove
(
void
*
__dest
,
__const__
void
*
__src
,
size_t
__n
);
#ifdef CONFIG_32BIT
#define __HAVE_ARCH_MEMSCAN
static
__inline__
void
*
memscan
(
void
*
__addr
,
int
__c
,
size_t
__size
)
{
char
*
__end
=
(
char
*
)
__addr
+
__size
;
unsigned
char
__uc
=
(
unsigned
char
)
__c
;
__asm__
(
".set
\t
push
\n\t
"
".set
\t
noat
\n\t
"
".set
\t
reorder
\n\t
"
"1:
\t
beq
\t
%0,%1,2f
\n\t
"
"addiu
\t
%0,1
\n\t
"
"lbu
\t
$1,-1(%0)
\n\t
"
"bne
\t
$1,%z4,1b
\n
"
"2:
\t
.set
\t
pop"
:
"=r"
(
__addr
),
"=r"
(
__end
)
:
"0"
(
__addr
),
"1"
(
__end
),
"Jr"
(
__uc
));
return
__addr
;
}
#endif
/* CONFIG_32BIT */
#endif
/* _ASM_STRING_H */
#endif
/* _ASM_STRING_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment