From: Tom Rini Date: Wed, 16 May 2018 08:50:10 -0400 Subject: [U-Boot] [U-Boot, v3, 3/9] riscv: Define PLATFORM__CLEAR_BIT for generic_clear_bit() In-Reply-To: <20180430145610.18250-4-pure.logic@nexus-software.ie> References: <20180430145610.18250-4-pure.logic@nexus-software.ie> Message-ID: <20180516125010.GZ3424@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Apr 30, 2018 at 03:56:04PM +0100, Bryan O'Donoghue wrote: > riscv bitops.h provides a __clear_bit() but does not define > PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the > architecturally provided __clear_bit(). > > This patch defines PLATFORM__CLEAR_BIT which means that __clear_bit() in > riscv bitops.h will be called whenever generic_clear_bit() is called - as > opposed to the default cross-platform generic_clear_bit(). > > Signed-off-by: Bryan O'Donoghue > Cc: Rick Chen > Cc: Greentime Hu Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: