From 317596c51a93f4ad2b6601ca7fe483cea905b2f5 Mon Sep 17 00:00:00 2001 From: wh94709 Date: Thu, 10 May 2007 17:33:29 -0700 Subject: 6553385 Installing ON-PIT Ireland snv_64 DEBUG - install panic on huron machines --- usr/src/uts/sun4v/cpu/niagara_copy.s | 7 ------- 1 file changed, 7 deletions(-) (limited to 'usr/src') diff --git a/usr/src/uts/sun4v/cpu/niagara_copy.s b/usr/src/uts/sun4v/cpu/niagara_copy.s index e25c1b2b54..11dd202c9a 100644 --- a/usr/src/uts/sun4v/cpu/niagara_copy.s +++ b/usr/src/uts/sun4v/cpu/niagara_copy.s @@ -362,10 +362,6 @@ kcopy(const void *from, void *to, size_t count) bnz,pn %ncc, 1f stb %l0, [THREAD_REG + T_PREEMPT] - ldsb [THREAD_REG + T_PREEMPT], %l0 - dec %l0 - stb %l0, [THREAD_REG + T_PREEMPT] - ! Check for a kernel preemption request ldn [THREAD_REG + T_CPU], %l0 ldub [%l0 + CPU_KPRUNRUN], %l0 @@ -1181,9 +1177,6 @@ loop2: brnz,a,pt %l0, 1f ! Need to call kpreempt? or %l1, KPREEMPT_FLAG, %l1 ! If so, set the flag - ldsb [THREAD_REG + T_PREEMPT], %l0 - dec %l0 - stb %l0, [THREAD_REG + T_PREEMPT] 1: btst BCOPY_FLAG, %l1 bz,pn %icc, 3f -- cgit v1.2.3