diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-08-27 11:23:36 -0300 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-09-18 10:21:25 +0000 |
| commit | c1b6b2e5ce2ffd4e40c3ae4cb54c00e9b6ebb1fa (patch) | |
| tree | bd4e97233520021c4ef3d1f3a9b98aacf3b7027c /main/haveged/fix-cpu-cache-size-detection.patch | |
| parent | 76ebf9540158e91c3df6c9e2219b3d2deea4da21 (diff) | |
| download | aports-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.patch | 15 |
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); - } - } |
