Blame SOURCES/0022-dmi-x86-64-is-a-misnomer-for-64-bit-CPU-capability-6.patch

99c779
From 1099dfa2eafdb65493e2763aa099f1f991a1df64 Mon Sep 17 00:00:00 2001
99c779
From: Dan Callaghan <dcallagh@redhat.com>
99c779
Date: Wed, 15 Jul 2015 15:22:01 +1000
99c779
Subject: [PATCH 22/26] dmi: "x86-64" is a misnomer for 64-bit CPU capability
99c779
 (#698)
99c779
99c779
The "64-bit capable" bit can also be set for CPUs which are not
99c779
x86-based, like Itanium and ARM. Changed it to "lm" (long mode) instead
99c779
which matches the existing Linux CPU flag.
99c779
---
99c779
 src/core/dmi.cc | 2 +-
99c779
 1 file changed, 1 insertion(+), 1 deletion(-)
99c779
99c779
diff --git a/src/core/dmi.cc b/src/core/dmi.cc
99c779
index ced891a..8242fed 100644
99c779
--- a/src/core/dmi.cc
99c779
+++ b/src/core/dmi.cc
99c779
@@ -1185,7 +1185,7 @@ int dmiversionmin)
99c779
             if (data[0x25] != 0)
99c779
 		newnode.setConfig("threads", data[0x25]);
99c779
             if (data[0x26] & 0x4)
99c779
-		newnode.addCapability("x86-64", "64bits extensions (x86-64)");
99c779
+		newnode.addCapability("lm", _("64-bit capable"));
99c779
           }
99c779
 
99c779
           newnode.setHandle(handle);
99c779
-- 
99c779
2.10.2
99c779