diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-19 16:34:41 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-19 16:34:41 +0000 |
commit | 393b91d29a76bf99908143d0d981f897c99c14cf (patch) | |
tree | e086f4ecb6246f1949414fc18602ecdc804e1c01 /package/compcache/patches/100-use_register_width.patch | |
parent | aca2129d2d65c66ed60c8ab31c7ea3ebb4709550 (diff) |
[package] update compcache to 0.6.2 (#6884)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20303 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 6200d56fd..000000000 --- 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; - } - |