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

Oren Laadan orenl at librato.com
Tue Aug 11 23:11:19 PDT 2009


Nathan Lynch wrote:
> 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;
>  	}
>  

Oops !

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

Oren.


More information about the Containers mailing list