summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-12-07 02:14:09 +0100
committerAndi Kleen <andi@basil.nowhere.org>2006-12-07 02:14:09 +0100
commitc55d92d141b9c40c67db249de91f5c224eb49859 (patch)
tree578a34bf9768bb418d820395415cbd27acc54c1b /include/asm-i386
parent713819989aa4dd141a37074dbc369e7c620bc619 (diff)
downloadkernel-crypto-c55d92d141b9c40c67db249de91f5c224eb49859.tar.gz
kernel-crypto-c55d92d141b9c40c67db249de91f5c224eb49859.tar.xz
kernel-crypto-c55d92d141b9c40c67db249de91f5c224eb49859.zip
[PATCH] i386: Add support for compilation for Core2
gcc doesn't support -mtune=core2 yet, but will be soon. Use -mtune=generic or -mtune=i686 as fallback TBD need benchmarking for INTEL_USERCOPY etc. So far I used the same defaults as MPENTIUMM Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/module.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/module.h b/include/asm-i386/module.h
index 424661d25bd..fe5ae42e027 100644
--- a/include/asm-i386/module.h
+++ b/include/asm-i386/module.h
@@ -20,6 +20,8 @@ struct mod_arch_specific
#define MODULE_PROC_FAMILY "586TSC "
#elif defined CONFIG_M586MMX
#define MODULE_PROC_FAMILY "586MMX "
+#elif defined CONFIG_MCORE2
+#define MODULE_PROC_FAMILY "CORE2 "
#elif defined CONFIG_M686
#define MODULE_PROC_FAMILY "686 "
#elif defined CONFIG_MPENTIUMII