Skip to contentSkip to conversation

powerpc: vdso build fix (ckpt-v17)

PATCH In review Nathan Lynch 2 participants 2 messages Aug 4, 2009 – Aug 12, 2009 1 message not in the archive PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: vdso build fix (ckpt-v17)

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.)

---
 arch/powerpc/kernel/vdso.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/kernel/vdso.c +1 -1
index c25213b..679b394 100644
@@ -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;
 	}
 
Signature · 1 line
1.6.0.6

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 16 lines · Nathan Lynch

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.)

---
 arch/powerpc/kernel/vdso.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/kernel/vdso.c +0 -0
index c25213b..679b394 100644

arch/powerpc/kernel/vdso.c int arch_setup_additional_pages(struct linux_binprm *bprm, · line 247

Quoted 8 lines
arch/powerpc/kernel/vdso.c +1 -1
@@ -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;
 	}
 

Oops !

Thanks, I hope this time around I'll get it right... Pushed to ckpt-v17-dev.

Oren.