2015-08-06 11:55:40

by Juergen Gross

[permalink] [raw]
Subject: [PATCH] x86/paravirt: remove unused operation

Remove the paravirt operation "get_tsc_khz" as it is used nowhere.

Signed-off-by: Juergen Gross <[email protected]>
---
arch/x86/include/asm/paravirt_types.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/paravirt_types.h b/arch/x86/include/asm/paravirt_types.h
index a6b8f9f..5a18a66 100644
--- a/arch/x86/include/asm/paravirt_types.h
+++ b/arch/x86/include/asm/paravirt_types.h
@@ -97,7 +97,6 @@ struct pv_lazy_ops {
struct pv_time_ops {
unsigned long long (*sched_clock)(void);
unsigned long long (*steal_clock)(int cpu);
- unsigned long (*get_tsc_khz)(void);
};

struct pv_cpu_ops {
--
2.1.4


2015-08-28 09:08:26

by Juergen Gross

[permalink] [raw]
Subject: Re: [PATCH] x86/paravirt: remove unused operation

Ping?

On 08/06/2015 01:55 PM, Juergen Gross wrote:
> Remove the paravirt operation "get_tsc_khz" as it is used nowhere.
>
> Signed-off-by: Juergen Gross <[email protected]>
> ---
> arch/x86/include/asm/paravirt_types.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/paravirt_types.h b/arch/x86/include/asm/paravirt_types.h
> index a6b8f9f..5a18a66 100644
> --- a/arch/x86/include/asm/paravirt_types.h
> +++ b/arch/x86/include/asm/paravirt_types.h
> @@ -97,7 +97,6 @@ struct pv_lazy_ops {
> struct pv_time_ops {
> unsigned long long (*sched_clock)(void);
> unsigned long long (*steal_clock)(int cpu);
> - unsigned long (*get_tsc_khz)(void);
> };
>
> struct pv_cpu_ops {
>

2015-08-31 00:34:29

by Rusty Russell

[permalink] [raw]
Subject: Re: [PATCH] x86/paravirt: remove unused operation

Juergen Gross <[email protected]> writes:
> Ping?

Acked-by: Rusty Russell <[email protected]>

Cheers,
Rusty.

> On 08/06/2015 01:55 PM, Juergen Gross wrote:
>> Remove the paravirt operation "get_tsc_khz" as it is used nowhere.
>>
>> Signed-off-by: Juergen Gross <[email protected]>
>> ---
>> arch/x86/include/asm/paravirt_types.h | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/x86/include/asm/paravirt_types.h b/arch/x86/include/asm/paravirt_types.h
>> index a6b8f9f..5a18a66 100644
>> --- a/arch/x86/include/asm/paravirt_types.h
>> +++ b/arch/x86/include/asm/paravirt_types.h
>> @@ -97,7 +97,6 @@ struct pv_lazy_ops {
>> struct pv_time_ops {
>> unsigned long long (*sched_clock)(void);
>> unsigned long long (*steal_clock)(int cpu);
>> - unsigned long (*get_tsc_khz)(void);
>> };
>>
>> struct pv_cpu_ops {
>>