[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZLVsIlWH1TxcZCaG@smile.fi.intel.com>
Date: Mon, 17 Jul 2023 19:28:18 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Yury Norov <yury.norov@...il.com>
Cc: Alexander Potapenko <glider@...gle.com>, catalin.marinas@....com,
will@...nel.org, pcc@...gle.com, andreyknvl@...il.com,
linux@...musvillemoes.dk, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, eugenis@...gle.com,
syednwaris@...il.com, william.gray@...aro.org
Subject: Re: [PATCH v3 2/5] lib/test_bitmap: add tests for
bitmap_{set,get}_value()
On Mon, Jul 17, 2023 at 09:11:50AM -0700, Yury Norov wrote:
> On Mon, Jul 17, 2023 at 01:37:05PM +0200, Alexander Potapenko wrote:
...
> if (val & BIT(j - start))
> __set_bit(j, orig);
> else
> __clear_bit(j, orig);
JFYI: __asign_bit() can be used here.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists