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 <[email protected]> > --- > 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 <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

