Commit 0b9d0fef authored by unknown's avatar unknown

Fix for BUG#26971 "BUILD/check-cpu does not recognize Intel Core 2

Duo T7400". Treat such CPU as Xeon. Here's /proc/cpuinfo for T7400:
model name      : Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz


BUILD/check-cpu:
  Fix for BUG#26971 "BUILD/check-cpu does not recognize Intel Core 2
  Duo T7400". Treat such CPU as Xeon.
parent 06e5abc7
...@@ -64,10 +64,11 @@ check_cpu () { ...@@ -64,10 +64,11 @@ check_cpu () {
;; ;;
# Intel ia32 # Intel ia32
*X[eE][oO][nN]*) *Intel*Core*|*X[eE][oO][nN]*)
# a Xeon is just another pentium4 ... # a Xeon is just another pentium4 ...
# ... unless it has the "lm" (long-mode) flag set, # ... unless it has the "lm" (long-mode) flag set,
# in that case it's a Xeon with EM64T support # in that case it's a Xeon with EM64T support
# So is Intel Core.
if [ -z "$cpu_flag_lm" ]; then if [ -z "$cpu_flag_lm" ]; then
cpu_arg="pentium4"; cpu_arg="pentium4";
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment