[1/8] there is no generic_file_(get|set)_policy()

From: William Lee Irwin III
Date: Mon Jan 03 2005 - 14:09:26 EST


There is no generic_file_set_policy() or generic_file_get_policy.
This patch removes the dangling references to them.

Without this patch, the kernel fails to build from source with
CONFIG_NUMA=y

Signed-off-by: William Irwin <wli@xxxxxxxxxxxxxx>


Index: mm1-2.6.10/mm/filemap.c
===================================================================
--- mm1-2.6.10.orig/mm/filemap.c 2005-01-03 06:46:04.000000000 -0800
+++ mm1-2.6.10/mm/filemap.c 2005-01-03 07:50:55.000000000 -0800
@@ -1542,10 +1542,6 @@
.nopage = filemap_nopage,
.populate = filemap_populate,
.page_mkwrite = filemap_page_mkwrite,
-#ifdef CONFIG_NUMA
- .set_policy = generic_file_set_policy,
- .get_policy = generic_file_get_policy,
-#endif
};

/* This is used for a general mmap of a disk file */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/