aboutsummaryrefslogtreecommitdiffstats
path: root/main/haveged/fix-cpu-cache-size-detection.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-27 11:23:36 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-09-18 10:21:25 +0000
commitc1b6b2e5ce2ffd4e40c3ae4cb54c00e9b6ebb1fa (patch)
treebd4e97233520021c4ef3d1f3a9b98aacf3b7027c /main/haveged/fix-cpu-cache-size-detection.patch
parent76ebf9540158e91c3df6c9e2219b3d2deea4da21 (diff)
downloadaports-c1b6b2e5ce2ffd4e40c3ae4cb54c00e9b6ebb1fa.tar.bz2
aports-c1b6b2e5ce2ffd4e40c3ae4cb54c00e9b6ebb1fa.tar.xz
main/haveged: upgrade to 1.9.6
Diffstat (limited to 'main/haveged/fix-cpu-cache-size-detection.patch')
-rw-r--r--main/haveged/fix-cpu-cache-size-detection.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/main/haveged/fix-cpu-cache-size-detection.patch b/main/haveged/fix-cpu-cache-size-detection.patch
deleted file mode 100644
index 07da2b46d9..0000000000
--- a/main/haveged/fix-cpu-cache-size-detection.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Some ARM cpus does not report the cache size or say it is -1
-
-diff --git a/src/havegetune.c b/src/havegetune.c
-index f1a99f2..de39c53 100644
---- a/src/havegetune.c
-+++ b/src/havegetune.c
-@@ -795,6 +795,8 @@ static int vfs_configInfoCache(
- ctype = vfs_configFile(pAnchor, path, vfs_configType);
- strcpy(path+plen, "size");
- size = vfs_configFile(pAnchor, path, vfs_configInt);
-+ if (size == -1)
-+ size = ctype == 'I' ? GENERIC_ICACHE : GENERIC_DCACHE;
- cfg_cacheAdd(pAnchor, SRC_VFS_INDEX, pArgs[1], level, ctype, size);
- }
- }