[PATCH] powerpc: Remove remaining debugreg bits from forward port of v22-dev patches

Oren Laadan orenl at cs.columbia.edu
Fri Mar 25 19:09:54 PDT 2011


Matt/Nathan:

I lost track with the ppc patches - and I wouldn't be able to test
the code anyway. Any chance you could resend an updated ppc-c/r set ?

Thanks ...

Oren.


On 01/27/2011 08:22 AM, Matt Helsley wrote:
> The commit 'powerpc: provide APIs for validating and updating DABR'
> from ckpt-v22-dev can be dropped for v23-rc1 but other patches in
> the v22-dev series for powerpc use the debugreg functions introduced
> there. They can be rebased and merged with this patch and the
> debugreg code can be pushed as a later, independent patch.
> 
> Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
> Cc: Nathan Lynch <ntl at pobox.com>
> ---
>  arch/powerpc/kernel/checkpoint.c |    8 --------
>  1 files changed, 0 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/checkpoint.c b/arch/powerpc/kernel/checkpoint.c
> index 9aeab89..00fc2bb 100644
> --- a/arch/powerpc/kernel/checkpoint.c
> +++ b/arch/powerpc/kernel/checkpoint.c
> @@ -350,14 +350,6 @@ static int restore_dabr(const struct ckpt_hdr_cpu *cpu_hdr,
>  		goto out;
>  
>  	rc = -EINVAL;
> -	if (!debugreg_valid(cpu_hdr->dabr, 0))
> -		goto out;
> -
> -	rc = 0;
> -	if (!update)
> -		goto out;
> -
> -	debugreg_update(task, cpu_hdr->dabr, 0);
>  out:
>  	return rc;
>  }


More information about the Containers mailing list