mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix mm/filemap.c:841: error: redefinition of '__kcrctab_add_to_page_cache_lru'
@ 2009-04-06  1:08 Jeff Chua
  0 siblings, 0 replies; only message in thread
From: Jeff Chua @ 2009-04-06  1:08 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-06  1:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-06  1:08 [PATCH] fix mm/filemap.c:841: error: redefinition of '__kcrctab_add_to_page_cache_lru' Jeff Chua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®