]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] make appldata compile w/o CONFIG_SWAP
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Mon, 14 Jul 2008 07:57:27 +0000 (09:57 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 08:02:00 +0000 (10:02 +0200)
Avoid compile error by using EXPORT_SYMBOL_GPL(si_swapinfo) only if
CONFIG_SWAP is set.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/appldata/appldata_base.c

index ad40729bec3d9a062925b2b2db3bf7d990d0ea3e..803f3645edf673d963cb901c4d49dcc965ff77f1 100644 (file)
@@ -584,7 +584,9 @@ EXPORT_SYMBOL_GPL(appldata_register_ops);
 EXPORT_SYMBOL_GPL(appldata_unregister_ops);
 EXPORT_SYMBOL_GPL(appldata_diag);
 
+#ifdef CONFIG_SWAP
 EXPORT_SYMBOL_GPL(si_swapinfo);
+#endif
 EXPORT_SYMBOL_GPL(nr_threads);
 EXPORT_SYMBOL_GPL(nr_running);
 EXPORT_SYMBOL_GPL(nr_iowait);