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

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