Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363659

Re: [PATCH] intel_idle: make intel_idle_state_table_update() static

From Len Brown <lenb@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] intel_idle: make intel_idle_state_table_update() static
Date 2016-03-23 21:20 +0100
Message-ID <rfXq1-b9-5@gated-at.bofh.it> (permalink)
References <rfvDs-5NV-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Thank you Jisheng, for pointing this out.

your patch conflicts with a patch already in-flight, so I'll not apply
it directly,
but I will fix this problem straight away.

thanks,
Len Brown, Intel Open Source Technology Center

On Tue, Mar 22, 2016 at 10:32 AM, Jisheng Zhang <jszhang@marvell.com> wrote:
> intel_idle_state_table_update() is only used internally in intel_idle,
> so make it static.
>
> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
> ---
>  drivers/idle/intel_idle.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
> index cd4510a..2e0341e 100644
> --- a/drivers/idle/intel_idle.c
> +++ b/drivers/idle/intel_idle.c
> @@ -1001,7 +1001,7 @@ static void intel_idle_cpuidle_devices_uninit(void)
>   * Currently used to access tuned IVT multi-socket targets
>   * Assumption: num_sockets == (max_package_num + 1)
>   */
> -void intel_idle_state_table_update(void)
> +static void intel_idle_state_table_update(void)
>  {
>         /* IVT uses a different table for 1-2, 3-4, and > 4 sockets */
>         if (boot_cpu_data.x86_model == 0x3e) { /* IVT */
> --
> 2.8.0.rc3
>



-- 
Len Brown, Intel Open Source Technology Center

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] intel_idle: make intel_idle_state_table_update() static Jisheng Zhang <jszhang@marvell.com> - 2016-03-22 15:40 +0100
  Re: [PATCH] intel_idle: make intel_idle_state_table_update() static Len Brown <lenb@kernel.org> - 2016-03-23 21:20 +0100

csiph-web