lkml.org 
[lkml]   [2009]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix mm/filemap.c:841: error: redefinition of '__kcrctab_add_to_page_cache_lru'

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

\
 
 \ /
  Last update: 2009-04-06 03:13    [W:0.249 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site