aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/sysenter.c
diff options
context:
space:
mode:
authorZachary Amsden <zach@vmware.com>2007-05-02 13:27:16 -0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 13:27:16 -0400
commit752783c050f1729452a89b2baea45b0124ac91c7 (patch)
treece7de3acb1bc02d21cba7c2de0a8ac317b51ff7a /arch/i386/kernel/sysenter.c
parent57decbda6a2a7c400b2a3b3b12e52ccbdc977118 (diff)
[PATCH] i386: In compat mode, the return value here was uninitialized.
Signed-off-by: Zachary Amsden <zach@vmware.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/kernel/sysenter.c')
-rw-r--r--arch/i386/kernel/sysenter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/sysenter.c b/arch/i386/kernel/sysenter.c
index 94defac6fc3d..ff4ee6f3326b 100644
--- a/arch/i386/kernel/sysenter.c
+++ b/arch/i386/kernel/sysenter.c
@@ -268,7 +268,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int exstack)
268{ 268{
269 struct mm_struct *mm = current->mm; 269 struct mm_struct *mm = current->mm;
270 unsigned long addr; 270 unsigned long addr;
271 int ret; 271 int ret = 0;
272 bool compat; 272 bool compat;
273 273
274 down_write(&mm->mmap_sem); 274 down_write(&mm->mmap_sem);