repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
arch
/
nds32
/
lib
/
memzero.S
blob
f055972c93432d1e061f8ee6d9ce8e11c5b77620
1
// SPDX-License-Identifier: GPL-2.0
2
// Copyright (C) 2005-2017 Andes Technology Corporation
3
4
#include <linux/linkage.h>
5
6
.text
7
ENTRY(memzero)
8
beqz $r1, 1f
9
push $lp
10
move $r2, $r1
11
move $r1, #0
12
push $r0
13
bal memset
14
pop $r0
15
pop $lp
16
1:
17
ret
18
ENDPROC(memzero)