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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Cc: Nathan Lynch <ntl@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux