Index: linux-2.6.10-rc3-ck3/mm/rmap.c
===================================================================
--- linux-2.6.10-rc3-ck3.orig/mm/rmap.c	2004-12-24 12:36:18.000000000 +1100
+++ linux-2.6.10-rc3-ck3/mm/rmap.c	2004-12-24 13:20:08.823750096 +1100
@@ -395,7 +395,9 @@
 {
 	int referenced = 0;
 
+#ifdef CONFIG_SWAP
 	if (!swap_token_default_timeout)
+#endif
 		ignore_token = 1;
 
 	if (page_test_and_clear_young(page))
