public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] mm/migrate.c: don't export a static function
@ 2006-04-07 21:16 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-04-07 21:16 UTC (permalink / raw)
  To: linux-kernel

EXPORT_SYMBOL'ing of a static function is not a good idea.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.17-rc1-mm1-full/mm/migrate.c.old	2006-04-07 14:03:21.000000000 +0200
+++ linux-2.6.17-rc1-mm1-full/mm/migrate.c	2006-04-07 14:03:31.000000000 +0200
@@ -176,7 +176,6 @@
 retry:
 	return -EAGAIN;
 }
-EXPORT_SYMBOL(swap_page);
 
 /*
  * Remove references for a page and establish the new page with the correct


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

only message in thread, other threads:[~2006-04-07 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-07 21:16 [2.6 patch] mm/migrate.c: don't export a static function Adrian Bunk

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