From 1df367134498a0dca42c8dc7f794ea5e17079394 Mon Sep 17 00:00:00 2001 From: Randall Stewart Date: Wed, 3 Feb 2010 20:54:04 +0000 Subject: [PATCH] -White space cleanup (missing spaces in new line) -Remove extra tab. -Took out the duplicate code that cprestore does. All suggested by Neel. --- lib/libc/mips/sys/ptrace.S | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/libc/mips/sys/ptrace.S b/lib/libc/mips/sys/ptrace.S index 53ca78d47421..9be54a5af909 100644 --- a/lib/libc/mips/sys/ptrace.S +++ b/lib/libc/mips/sys/ptrace.S @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #endif /* LIBC_SCCS and not lint */ LEAF(ptrace) - .frame sp,40,ra + .frame sp, 40, ra .mask 0x80000000, -8 #ifdef __ABICALLS__ .set noreorder @@ -55,10 +55,7 @@ LEAF(ptrace) .cprestore 16 #endif la t9, _C_LABEL(__error) # locate address of errno - jalr t9 -#ifdef __ABICALLS__ - lw gp, 16(sp) -#endif + jalr t9 sw zero, 0(v0) lw ra, 32(sp) addu sp, sp, 40