diff options
author | Max Rees <maxcrees@me.com> | 2019-10-06 22:10:36 -0500 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-10-14 17:06:06 -0500 |
commit | 7d9dfcf37dda8942fd1a84e42f13f351239b0712 (patch) | |
tree | 8174bfa4d59fb1be9efc96725cc9184c2671f004 /user | |
parent | f58505b8b17a199f7d3f06ad47e5f60a30bee173 (diff) | |
download | packages-7d9dfcf37dda8942fd1a84e42f13f351239b0712.tar.gz packages-7d9dfcf37dda8942fd1a84e42f13f351239b0712.tar.bz2 packages-7d9dfcf37dda8942fd1a84e42f13f351239b0712.tar.xz packages-7d9dfcf37dda8942fd1a84e42f13f351239b0712.zip |
user/haveged: drop dead patch
Diffstat (limited to 'user')
-rw-r--r-- | user/haveged/fix-cpu-cache-size-detection.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/user/haveged/fix-cpu-cache-size-detection.patch b/user/haveged/fix-cpu-cache-size-detection.patch deleted file mode 100644 index 07da2b46d..000000000 --- a/user/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); - } - } |