* [PATCH] powerpc: Remove remaining debugreg bits from forward port of v22-dev patches
@ 2011-01-27 13:22 Matt Helsley
[not found] ` <cd26e0322da9081a888336f40ea2057dad70cea2.1296134526.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Matt Helsley @ 2011-01-27 13:22 UTC (permalink / raw)
To: Oren Laadan; +Cc: Linux Containers, Nathan Lynch
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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Nathan Lynch <ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
---
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;
}
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc: Remove remaining debugreg bits from forward port of v22-dev patches
[not found] ` <cd26e0322da9081a888336f40ea2057dad70cea2.1296134526.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2011-03-26 2:09 ` Oren Laadan
0 siblings, 0 replies; 2+ messages in thread
From: Oren Laadan @ 2011-03-26 2:09 UTC (permalink / raw)
To: Matt Helsley; +Cc: Linux Containers, Nathan Lynch
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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> Cc: Nathan Lynch <ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
> ---
> 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;
> }
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-26 2:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 13:22 [PATCH] powerpc: Remove remaining debugreg bits from forward port of v22-dev patches Matt Helsley
[not found] ` <cd26e0322da9081a888336f40ea2057dad70cea2.1296134526.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2011-03-26 2:09 ` Oren Laadan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.