2020-09-01 05:31:59

by Christophe Leroy

[permalink] [raw]
Subject: [PATCH v11] Fixup for "powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32"

Signed-off-by: Christophe Leroy <[email protected]>
---
arch/powerpc/include/asm/vdso/gettimeofday.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h b/arch/powerpc/include/asm/vdso/gettimeofday.h
index 59a609a48b63..8da84722729b 100644
--- a/arch/powerpc/include/asm/vdso/gettimeofday.h
+++ b/arch/powerpc/include/asm/vdso/gettimeofday.h
@@ -186,6 +186,8 @@ int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res,
#else
int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts,
const struct vdso_data *vd);
+int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts,
+ const struct vdso_data *vd);
int __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res,
const struct vdso_data *vd);
#endif
--
2.25.0


2020-09-01 07:20:54

by Michal Suchánek

[permalink] [raw]
Subject: Re: [PATCH v11] Fixup for "powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32"

Hello,

can you add Fixes: ?

Thanks

Michal

On Tue, Sep 01, 2020 at 05:28:57AM +0000, Christophe Leroy wrote:
> Signed-off-by: Christophe Leroy <[email protected]>
> ---
> arch/powerpc/include/asm/vdso/gettimeofday.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h b/arch/powerpc/include/asm/vdso/gettimeofday.h
> index 59a609a48b63..8da84722729b 100644
> --- a/arch/powerpc/include/asm/vdso/gettimeofday.h
> +++ b/arch/powerpc/include/asm/vdso/gettimeofday.h
> @@ -186,6 +186,8 @@ int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res,
> #else
> int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts,
> const struct vdso_data *vd);
> +int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts,
> + const struct vdso_data *vd);
> int __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res,
> const struct vdso_data *vd);
> #endif
> --
> 2.25.0
>

2020-09-01 07:25:34

by Christophe Leroy

[permalink] [raw]
Subject: Re: [PATCH v11] Fixup for "powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32"


Le 01/09/2020 à 09:19, Michal Suchánek a écrit :
> Hello,
>
> can you add Fixes: ?

That's a commit which is still in powerpc/next-test.
My intention was to provide something that Michael can squash/fixup into
the culprit commit.

Christophe


>
> Thanks
>
> Michal
>
> On Tue, Sep 01, 2020 at 05:28:57AM +0000, Christophe Leroy wrote:
>> Signed-off-by: Christophe Leroy <[email protected]>
>> ---
>> arch/powerpc/include/asm/vdso/gettimeofday.h | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h b/arch/powerpc/include/asm/vdso/gettimeofday.h
>> index 59a609a48b63..8da84722729b 100644
>> --- a/arch/powerpc/include/asm/vdso/gettimeofday.h
>> +++ b/arch/powerpc/include/asm/vdso/gettimeofday.h
>> @@ -186,6 +186,8 @@ int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res,
>> #else
>> int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts,
>> const struct vdso_data *vd);
>> +int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts,
>> + const struct vdso_data *vd);
>> int __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res,
>> const struct vdso_data *vd);
>> #endif
>> --
>> 2.25.0
>>