Make mips/mips64 syscall stubs more like the other architectures.
Change-Id: I55f8c1a95f643a6e484f12fbcc25e2c77e55b6b8
diff --git a/libc/arch-mips/syscalls/madvise.S b/libc/arch-mips/syscalls/madvise.S
index 7a4c2fa..9aa2815 100644
--- a/libc/arch-mips/syscalls/madvise.S
+++ b/libc/arch-mips/syscalls/madvise.S
@@ -1,14 +1,8 @@
/* Generated by gensyscalls.py. Do not edit. */
-#include <asm/unistd.h>
-#include <machine/asm.h>
-#include <machine/regdef.h>
- .text
- .globl madvise
- .align 4
- .ent madvise
+#include <private/bionic_asm.h>
-madvise:
+ENTRY(madvise)
.set noreorder
.cpload t9
li v0, __NR_madvise
@@ -22,4 +16,4 @@
j t9
nop
.set reorder
- .end madvise
+END(madvise)