Messages in this thread Patch in this message | | | From | Holger Schurig <> | Subject | Patch to get swap_token working without CONFIG_SWAP | Date | Wed, 22 Dec 2004 15:52:35 +0100 |
| |
Some embedded devices won't have CONFIG_SWAP defined, this breaks rmap.c near line 386. This fixes it:
# # Patch managed by http://www.holgerschurig.de/patcher.html #
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
--- linux-2.6/mm/rmap.c~fix-rmapswap +++ linux-2.6/mm/rmap.c @@ -395,8 +395,10 @@ { int referenced = 0;
+#ifdef CONFIG_SWAP if (!swap_token_default_timeout) ignore_token = 1; +#endif
if (page_test_and_clear_young(page)) referenced++; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |