summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips/syscalls/klogctl.S
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2012-11-18 19:44:25 -0800
committerSteve Kondik <shade@chemlab.org>2012-11-18 19:44:25 -0800
commit5015fe9bf8869e794cfd972189876e5ff67a3a77 (patch)
treeac5fbd6139872dbaabf3c3fa01d1ad3af441d72f /libc/arch-mips/syscalls/klogctl.S
parent7f687eb12e9977215416469c3edfc9f464a5883c (diff)
parentf29c214d6ad97f9a5348407cc66a58aec2228ca9 (diff)
downloadbionic-5015fe9bf8869e794cfd972189876e5ff67a3a77.zip
bionic-5015fe9bf8869e794cfd972189876e5ff67a3a77.tar.gz
bionic-5015fe9bf8869e794cfd972189876e5ff67a3a77.tar.bz2
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/bionic into mr1
Conflicts: libc/Android.mk libc/bionic/system_properties.c libc/kernel/common/linux/msm_mdp.h libc/tools/gensyscalls.py libm/Android.mk linker/linker.c Change-Id: I11944300d7fcf2fd9dc587d8c7a937bf5366bcc0
Diffstat (limited to 'libc/arch-mips/syscalls/klogctl.S')
-rw-r--r--libc/arch-mips/syscalls/klogctl.S22
1 files changed, 22 insertions, 0 deletions
diff --git a/libc/arch-mips/syscalls/klogctl.S b/libc/arch-mips/syscalls/klogctl.S
new file mode 100644
index 0000000..8c41dcf
--- /dev/null
+++ b/libc/arch-mips/syscalls/klogctl.S
@@ -0,0 +1,22 @@
+/* autogenerated by gensyscalls.py */
+#include <sys/linux-syscalls.h>
+ .text
+ .globl klogctl
+ .align 4
+ .ent klogctl
+
+klogctl:
+ .set noreorder
+ .cpload $t9
+ li $v0, __NR_syslog
+ syscall
+ bnez $a3, 1f
+ move $a0, $v0
+ j $ra
+ nop
+1:
+ la $t9,__set_errno
+ j $t9
+ nop
+ .set reorder
+ .end klogctl