[Letux-kernel] MIPS: bug: gettimeofday syscall broken on CI20 board

H. Nikolaus Schaller hns at goldelico.com
Fri Nov 29 12:51:19 CET 2019

Hi Vincenzo,

> Am 29.11.2019 um 11:53 schrieb Vincenzo Frascino <vincenzo.frascino at arm.com>:
> Hi Nikolaus,
> On 11/29/19 8:57 AM, Vincenzo Frascino wrote:
>> On 11/28/19 4:47 PM, H. Nikolaus Schaller wrote:
>>> Well, it does not immediately compile because CONFIG_MIPS_CLOCK_VSYSCALL is not
>>> set and can not be configured by normal means:
>>> Error:
>>> /Volumes/CaseSensitive/master/lib/vdso/gettimeofday.c: In function '__cvdso_gettimeofday':
>>> /Volumes/CaseSensitive/master/lib/vdso/gettimeofday.c:152:4: error: implicit declaration of function 'gettimeofday_fallback' [-Werror=implicit-function-declaration]
>>>    return gettimeofday_fallback(tv, tz);
>> Oops, I just realized that I had other changes not committed that's why it does
>> not build for you directly. Sometimes I get so excited for fixing a problem that
>> I forget bits and peaces :) Sorry about that.
>> I am happy to hear that this sorts out the issue though. I will send out a new
>> series to test.
> Could you please try the patch in attachment? It should be all this time.

applies well, compiles well and works.

So you can add:

Testes-by: H. Nikolaus Schaller <hns at goldelico.com> # CI20 with JZ4780

> Thanks!

BR and thanks,

More information about the Letux-kernel mailing list