Re: [PATCH 22/58] arch/x86/kernel/cpu/common.c: Mark cpu_detect_tlbstatic

From: Alex Shi
Date: Mon Nov 19 2012 - 20:42:12 EST


On 11/19/2012 01:28 PM, Josh Triplett wrote:
> Nothing outside of arch/x86/kernel/cpu/common.c references
> cpu_detect_tlb, so mark it static.
>
> Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> ---
> arch/x86/kernel/cpu/common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
> index 7505f7b..eb12c08 100644
> --- a/arch/x86/kernel/cpu/common.c
> +++ b/arch/x86/kernel/cpu/common.c
> @@ -482,7 +482,7 @@ u16 __read_mostly tlb_lld_4m[NR_INFO];
> */
> s8 __read_mostly tlb_flushall_shift = -1;
>
> -void __cpuinit cpu_detect_tlb(struct cpuinfo_x86 *c)
> +static void __cpuinit cpu_detect_tlb(struct cpuinfo_x86 *c)
> {
> if (this_cpu->c_detect_tlb)
> this_cpu->c_detect_tlb(c);
>

Acked-by: Alex Shi <alex.shi@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/