[PATCH] [6/11] i386: Tune AMD Fam10h/11h like K8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This mainly changes the nops for alternative, so not very revolutionary.
 
Signed-off-by: Andi Kleen <[email protected]>

Index: linux/arch/i386/kernel/cpu/amd.c
===================================================================
--- linux.orig/arch/i386/kernel/cpu/amd.c
+++ linux/arch/i386/kernel/cpu/amd.c
@@ -230,6 +230,9 @@ static void __cpuinit init_amd(struct cp
 	}
 
 	switch (c->x86) {
+		/* Use K8 tuning for Fam10h and Fam11h */
+	case 0x10:	
+	case 0x11:
 	case 15:
 		set_bit(X86_FEATURE_K8, c->x86_capability);
 		break;
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux