Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
c857e3fd
Commit
c857e3fd
authored
Feb 17, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: __bzero_noasi --> __clear_user
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
46f86047
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
18 deletions
+11
-18
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/kernel/sparc64_ksyms.c
+1
-1
arch/sparc64/lib/bzero.S
arch/sparc64/lib/bzero.S
+9
-9
include/asm-sparc64/uaccess.h
include/asm-sparc64/uaccess.h
+1
-8
No files found.
arch/sparc64/kernel/sparc64_ksyms.c
View file @
c857e3fd
...
...
@@ -335,7 +335,7 @@ EXPORT_SYMBOL(copy_to_user_fixup);
EXPORT_SYMBOL
(
copy_from_user_fixup
);
EXPORT_SYMBOL
(
copy_in_user_fixup
);
EXPORT_SYMBOL
(
__strncpy_from_user
);
EXPORT_SYMBOL
(
__
bzero_noasi
);
EXPORT_SYMBOL
(
__
clear_user
);
/* Various address conversion macros use this. */
EXPORT_SYMBOL
(
phys_base
);
...
...
arch/sparc64/lib/bzero.S
View file @
c857e3fd
...
...
@@ -98,12 +98,12 @@ __bzero_done:
.
text
; \
.
align
4
;
.
globl
__
bzero_noasi
.
type
__
bzero_noasi
,
#
function
__
bzero_noasi
:
/
*
%
o0
=
buf
,
%
o1
=
len
*/
brz
,
pn
%
o1
,
__
bzero_noasi
_done
.
globl
__
clear_user
.
type
__
clear_user
,
#
function
__
clear_user
:
/
*
%
o0
=
buf
,
%
o1
=
len
*/
brz
,
pn
%
o1
,
__
clear_user
_done
cmp
%
o1
,
16
bl
,
pn
%
icc
,
__
bzero_noasi
_tiny
bl
,
pn
%
icc
,
__
clear_user
_tiny
EX_ST
(
prefetcha
[%
o0
+
0x00
]
%
asi
,
#
n_writes
)
andcc
%
o0
,
0x3
,
%
g0
be
,
pt
%
icc
,
2
f
...
...
@@ -145,14 +145,14 @@ __bzero_noasi: /* %o0=buf, %o1=len */
subcc
%
g1
,
8
,
%
g1
bne
,
pt
%
icc
,
5
b
add
%
o0
,
0x8
,
%
o0
6
:
brz
,
pt
%
o1
,
__
bzero_noasi
_done
6
:
brz
,
pt
%
o1
,
__
clear_user
_done
nop
__
bzero_noasi
_tiny
:
__
clear_user
_tiny
:
1
:
EX_ST
(
stba
%
g0
,
[%
o0
+
0x00
]
%
asi
)
subcc
%
o1
,
1
,
%
o1
bne
,
pt
%
icc
,
1
b
add
%
o0
,
1
,
%
o0
__
bzero_noasi
_done
:
__
clear_user
_done
:
retl
clr
%
o0
.
size
__
bzero_noasi
,
.
-
__bzero_noasi
.
size
__
clear_user
,
.
-
__clear_user
include/asm-sparc64/uaccess.h
View file @
c857e3fd
...
...
@@ -252,14 +252,7 @@ copy_in_user(void __user *to, void __user *from, unsigned long size)
}
#define __copy_in_user copy_in_user
extern
unsigned
long
__must_check
__bzero_noasi
(
void
__user
*
,
unsigned
long
);
static
inline
unsigned
long
__must_check
__clear_user
(
void
__user
*
addr
,
unsigned
long
size
)
{
return
__bzero_noasi
(
addr
,
size
);
}
extern
unsigned
long
__must_check
__clear_user
(
void
__user
*
,
unsigned
long
);
#define clear_user __clear_user
...
...
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