[PATCH] fix mm/filemap.c:841: error: redefinition of'__kcrctab_add_to_page_cache_lru'

From: Jeff Chua
Date: Sun Apr 05 2009 - 21:09:21 EST



Linus,

Compiling linux from latest git pull resulted in these errors ...

mm/filemap.c:841: error: redefinition of '__kcrctab_add_to_page_cache_lru'
mm/filemap.c:518: error: previous definition of '__kcrctab_add_to_page_cache_lru' was here


Here's a patch to fix it. add_to_page_cache_lru was already defined in line 518.

Thanks,
Jeff


--- linux/mm/filemap.c.org 2009-04-06 08:25:41 +0800
+++ linux/mm/filemap.c 2009-04-06 08:25:48 +0800
@@ -838,7 +838,6 @@
rcu_read_unlock();
return ret;
}
-EXPORT_SYMBOL(add_to_page_cache_lru);

/**
* find_get_pages_contig - gang contiguous pagecache lookup
--
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/