[PATCH] powerpc: vdso build fix (ckpt-v17)

Nathan Lynch ntl at pobox.com
Tue Aug 4 13:58:12 PDT 2009


arch/powerpc/kernel/vdso.c: In function 'arch_setup_additional_pages':
arch/powerpc/kernel/vdso.c:244: error: 'ret' undeclared (first use in this function)
arch/powerpc/kernel/vdso.c:244: error: (Each undeclared identifier is reported only once
arch/powerpc/kernel/vdso.c:244: error: for each function it appears in.)


Signed-off-by: Nathan Lynch <ntl at pobox.com>
---
 arch/powerpc/kernel/vdso.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c
index c25213b..679b394 100644
--- a/arch/powerpc/kernel/vdso.c
+++ b/arch/powerpc/kernel/vdso.c
@@ -241,7 +241,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm,
 
 	/* for restart(2), double check that we got we asked for */
 	if (start && vdso_base != start) {
-		ret = -EBUSY;
+		rc = -EBUSY;
 		goto fail_mmapsem;
 	}
 
-- 
1.6.0.6



More information about the Containers mailing list