]> err.no Git - linux-2.6/commitdiff
[PATCH] mm/migrate.c: don't export a static function
authorAdrian Bunk <bunk@stusta.de>
Tue, 11 Apr 2006 05:53:03 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:33 +0000 (06:18 -0700)
EXPORT_SYMBOL'ing of a static function is not a good idea.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/migrate.c

index 20b95db63da5285a728911fd9375a5459b6c24e9..d444229f2599245e1cb0d904e7cdfed11db88b7a 100644 (file)
@@ -173,7 +173,6 @@ unlock_retry:
 retry:
        return -EAGAIN;
 }
-EXPORT_SYMBOL(swap_page);
 
 /*
  * Remove references for a page and establish the new page with the correct