Skip to contentSkip to conversation

scall_64.S #ifdef fix

DISCUSSION Kip Walker 1 participant 1 message Mar 7, 2003 MIPS

lore
Share & tools
lore

Kip Walker

author
#0 lore raw

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