[PATCH v5] powerpc/vdso64: Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE

Segher Boessenkool segher at kernel.crashing.org
Thu Oct 12 04:02:16 AEDT 2017


Hi,

On Wed, Oct 11, 2017 at 02:05:02PM +0530, Santosh Sivaraj wrote:
> +70:	ld      r8,CFG_TB_UPDATE_COUNT(r3)
> +	andi.   r0,r8,1                 /* pending update ? loop */
> +	bne-    70b
> +	xor     r0,r8,r8                /* create dependency */

r0 already is 0 here, and already depends on r8.  Or is this trying
to do something else?

> +	add     r3,r3,r0


Segher


More information about the Linuxppc-dev mailing list