diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-03-19 16:34:41 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-03-19 16:34:41 +0000 |
commit | cd8e3a80555e0e120f400a2bbdd7528f5996cf46 (patch) | |
tree | 12072be28dcdb9db176af89c19fc623950c2ffb4 /package/compcache/patches/100-use_register_width.patch | |
parent | 08a790efb6a71152a293735a174332693a9d15ae (diff) | |
download | mtk-20170518-cd8e3a80555e0e120f400a2bbdd7528f5996cf46.zip mtk-20170518-cd8e3a80555e0e120f400a2bbdd7528f5996cf46.tar.gz mtk-20170518-cd8e3a80555e0e120f400a2bbdd7528f5996cf46.tar.bz2 |
update compcache to 0.6.2 (#6884)
SVN-Revision: 20303
Diffstat (limited to 'package/compcache/patches/100-use_register_width.patch')
-rw-r--r-- | package/compcache/patches/100-use_register_width.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/package/compcache/patches/100-use_register_width.patch b/package/compcache/patches/100-use_register_width.patch deleted file mode 100644 index 6200d56..0000000 --- a/package/compcache/patches/100-use_register_width.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -uNr compcache-0.5.2/compcache.c compcache/compcache.c ---- compcache-0.5.2/compcache.c 2009-03-10 13:03:56.000000000 +0100 -+++ compcache/ramzswap.c 2009-04-01 17:38:20.000000000 +0200 -@@ -68,15 +68,15 @@ - static int page_zero_filled(void *ptr) - { - u32 pos; -- u64 *page; -- -- page = (u64 *)ptr; -- -+#if defined(CONFIG_64BIT) -+ u64 *page = (u64 *)ptr; -+#else -+ u32 *page = (u32 *)ptr; -+#endif - for (pos = 0; pos != PAGE_SIZE / sizeof(*page); pos++) { - if (page[pos]) - return 0; - } -- - return 1; - } - |