Re: [PATCH v3 10/25] openrisc: add spinlock implementation

From: Peter Zijlstra
Date: Wed Feb 22 2017 - 06:32:38 EST


On Wed, Feb 22, 2017 at 04:11:39AM +0900, Stafford Horne wrote:
> +/*
> + * RWLOCKS
> + *

Any particular reason you're not using qrwlock ?

include/asm-generic/qrwlock_types.h
include/asm-generic/qrwlock.h
kernel/locking/qrwlock.c