[Devel] [PATCH] powerpc: Remove remaining debugreg bits from forward port of v22-dev patches
Matt Helsley
matthltc at us.ibm.com
Thu Jan 27 05:22:09 PST 2011
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;
}
--
1.6.3.3
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list