* Tony Lindgren <tony@xxxxxxxxxxx> [100318 18:31]: > --- a/arch/arm/kernel/setup.c > +++ b/arch/arm/kernel/setup.c > @@ -269,6 +269,24 @@ static void __init cacheid_init(void) > extern struct proc_info_list *lookup_processor_type(unsigned int); > extern struct machine_desc *lookup_machine_type(unsigned int); > > +#ifdef CONFIG_CPU_V6 > +static void __init feat_v6_fixup(void) > +{ > + int id = read_cpuid_id(); > + > + if (id & 0x000f0000 != 0x00070000) > + return; > + > + /* HWCAP_TLS is available only on V6 r1p0 and later */ > + if (((id >> 20) & 3) == 0) > + elf_hwcap &= ~HWCAP_TLS; > +} This test probably needs to only look at ARM1136, and ignore others such as ARM1176. Will take a look tomorrow. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html