summaryrefslogtreecommitdiff
path: root/dev-util/oprofile/files/oprofile-1.0.0-athlon.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/oprofile/files/oprofile-1.0.0-athlon.patch')
-rw-r--r--dev-util/oprofile/files/oprofile-1.0.0-athlon.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-util/oprofile/files/oprofile-1.0.0-athlon.patch b/dev-util/oprofile/files/oprofile-1.0.0-athlon.patch
deleted file mode 100644
index 5916271b3a00..000000000000
--- a/dev-util/oprofile/files/oprofile-1.0.0-athlon.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Fix AMD Athlon CPU family recognition.
-See upstream bug 275 for details:
-https://sourceforge.net/p/oprofile/bugs/275/
---- oprofile-1.0.0/libop/op_cpu_type.c.orig 2014-09-12 18:39:47.000000000 +0400
-+++ oprofile-1.0.0/libop/op_cpu_type.c 2014-11-30 18:29:00.328342552 +0300
-@@ -538,10 +538,13 @@
- family = cpu_family(eax);
-
- /* These family does not exist in the past.*/
-- if (family < 0x0f || family == 0x13)
-+ if ((family < 0x0f && family != 0x06) || family == 0x13)
- return ret;
-
- switch (family) {
-+ case 0x6:
-+ ret = op_get_cpu_number("i386/athlon");
-+ break;
- case 0x0f:
- ret = op_get_cpu_number("x86-64/hammer");
- break;