[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1258142098-3832-4-git-send-email-brgerst@gmail.com>
Date: Fri, 13 Nov 2009 14:54:57 -0500
From: Brian Gerst <brgerst@...il.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 3/4] x86, 32-bit: Don't push args on stack in kernel_thread_helper
regparm(3) is the normal calling convention now.
Signed-off-by: Brian Gerst <brgerst@...il.com>
---
arch/x86/kernel/entry_32.S | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S
index 2778ae3..96e9c32 100644
--- a/arch/x86/kernel/entry_32.S
+++ b/arch/x86/kernel/entry_32.S
@@ -985,11 +985,7 @@ ENTRY(kernel_thread_helper)
pushl $0 # fake return address for unwinder
CFI_STARTPROC
movl %edi,%eax
- push %edi
- CFI_ADJUST_CFA_OFFSET 4
call *%esi
- push %eax
- CFI_ADJUST_CFA_OFFSET 4
call do_exit
ud2 # padding for call trace
CFI_ENDPROC
--
1.6.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists