test_bitmap_parselist uses get_cycles(). Only arm, arm64, openrisc,
riscv and sparc64 implement get_cycles() and others take a stub from
include/asm-generic/timex.h.
So, switch to more generic ktime_get().
Fixes: 6df0d464dbcc1a55 (lib/test_bitmap.c: add test for bitmap_parselist())
On Wed, Feb 20, 2019 at 05:20:48PM +0300, Yury Norov wrote:
> On Wed, Feb 20, 2019 at 03:52:36PM +0200, Andy Shevchenko wrote:
> > On Wed, Feb 20, 2019 at 03:51:01PM +0200, Andy Shevchenko wrote:
> > > On Wed, Feb 20, 2019 at 11:37:03AM +0300, Yury Norov wrote:
> > > > test_bitmap_parselist
On Wed, Feb 20, 2019 at 03:10:44PM -0800, Palmer Dabbelt wrote:
> On Wed, 20 Feb 2019 06:20:48 PST (-0800), yury.no...@gmail.com wrote:
> > On Wed, Feb 20, 2019 at 03:52:36PM +0200, Andy Shevchenko wrote:
> > > On Wed, Feb 20, 2019 at 03:51:01PM +0200, Andy Shevchenko wrote:
> > > > On Wed, Feb
On Wed, 20 Feb 2019 06:20:48 PST (-0800), yury.no...@gmail.com wrote:
On Wed, Feb 20, 2019 at 03:52:36PM +0200, Andy Shevchenko wrote:
On Wed, Feb 20, 2019 at 03:51:01PM +0200, Andy Shevchenko wrote:
> On Wed, Feb 20, 2019 at 11:37:03AM +0300, Yury Norov wrote:
> > test_bitmap_parselist
On Wed, Feb 20, 2019 at 03:52:36PM +0200, Andy Shevchenko wrote:
> On Wed, Feb 20, 2019 at 03:51:01PM +0200, Andy Shevchenko wrote:
> > On Wed, Feb 20, 2019 at 11:37:03AM +0300, Yury Norov wrote:
> > > test_bitmap_parselist currently uses get_cycles which is not
> > > implemented on some
On Wed, Feb 20, 2019 at 03:51:01PM +0200, Andy Shevchenko wrote:
> On Wed, Feb 20, 2019 at 11:37:03AM +0300, Yury Norov wrote:
> > test_bitmap_parselist currently uses get_cycles which is not
> > implemented on some platforms, so use ktime_get() instead.
>
> This sounds like a fix that should go
On Wed, Feb 20, 2019 at 11:37:03AM +0300, Yury Norov wrote:
> test_bitmap_parselist currently uses get_cycles which is not
> implemented on some platforms, so use ktime_get() instead.
This sounds like a fix that should go first in the series.
--
With Best Regards,
Andy Shevchenko
test_bitmap_parselist currently uses get_cycles which is not
implemented on some platforms, so use ktime_get() instead.
Signed-off-by: Yury Norov
---
lib/test_bitmap.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/test_bitmap.c b/lib/test_bitmap.c
index
8 matches
Mail list logo