From: Gerald Schaefer Date: Mon, 14 Jul 2008 07:57:27 +0000 (+0200) Subject: [S390] make appldata compile w/o CONFIG_SWAP X-Git-Tag: 2.1b_release~18201^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c3252d58c54c87ee0f8f40d840e0146a3b1d5fd;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git [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 Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c index ad40729..803f364 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); 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);