linux-mips
[Top] [All Lists]

scall_64.S #ifdef fix

To: "Ralf Baechle" <ralf@linux-mips.org>
Subject: scall_64.S #ifdef fix
From: "Kip Walker" <kwalker@broadcom.com>
Date: Fri, 07 Mar 2003 11:33:22 -0800
Cc: linux-mips@linux-mips.org
Organization: Broadcom Corp. BPBU
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
I think CONFIG_BINFMT_ELF32 would be a better choice since it implies
that O32 or N32 is included, whereas CONFIG_MIPS32_COMPAT doesn't
necessarily imply it.

Kip

Index: arch/mips64/kernel/scall_64.S
===================================================================
RCS file: /home/cvs/linux/arch/mips64/kernel/scall_64.S,v
retrieving revision 1.20.2.14
diff -u -r1.20.2.14 scall_64.S
--- arch/mips64/kernel/scall_64.S       7 Mar 2003 01:22:48 -0000      
1.20.2.14
+++ arch/mips64/kernel/scall_64.S       7 Mar 2003 19:28:45 -0000
@@ -24,8 +24,8 @@
 
        .align  5
 NESTED(handle_sys64, PT_SIZE, sp)
-/* When 32-bit compatibility is configured scall_o32.S already did
this.  */
-#ifndef CONFIG_MIPS32_COMPAT
+/* When 32-bit binaries are handled scall_[on]32.S already did this. 
*/
+#ifndef CONFIG_BINFMT_ELF32
        .set    noat
        SAVE_SOME
        STI


<Prev in Thread] Current Thread [Next in Thread>
  • scall_64.S #ifdef fix, Kip Walker <=