From 7d9dfcf37dda8942fd1a84e42f13f351239b0712 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sun, 6 Oct 2019 22:10:36 -0500 Subject: user/haveged: drop dead patch --- user/haveged/fix-cpu-cache-size-detection.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 user/haveged/fix-cpu-cache-size-detection.patch 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); - } - } -- cgit v1.2.3-70-g09d2