aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/appldata
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2008-07-14 03:57:27 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 04:02:00 -0400
commit0c3252d58c54c87ee0f8f40d840e0146a3b1d5fd (patch)
treedde81b0a0c12994b12027e7c62cdbc67c2d67884 /arch/s390/appldata
parent887d935a84df41f154508821c6b7d96de7dc2c41 (diff)
[S390] make appldata compile w/o CONFIG_SWAP
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>
Diffstat (limited to 'arch/s390/appldata')
-rw-r--r--arch/s390/appldata/appldata_base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c
index ad40729bec3d..803f3645edf6 100644
--- a/arch/s390/appldata/appldata_base.c
+++ b/arch/s390/appldata/appldata_base.c
@@ -584,7 +584,9 @@ EXPORT_SYMBOL_GPL(appldata_register_ops);
584EXPORT_SYMBOL_GPL(appldata_unregister_ops); 584EXPORT_SYMBOL_GPL(appldata_unregister_ops);
585EXPORT_SYMBOL_GPL(appldata_diag); 585EXPORT_SYMBOL_GPL(appldata_diag);
586 586
587#ifdef CONFIG_SWAP
587EXPORT_SYMBOL_GPL(si_swapinfo); 588EXPORT_SYMBOL_GPL(si_swapinfo);
589#endif
588EXPORT_SYMBOL_GPL(nr_threads); 590EXPORT_SYMBOL_GPL(nr_threads);
589EXPORT_SYMBOL_GPL(nr_running); 591EXPORT_SYMBOL_GPL(nr_running);
590EXPORT_SYMBOL_GPL(nr_iowait); 592EXPORT_SYMBOL_GPL(nr_iowait);