diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2008-07-14 09:57:27 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 10:02:00 +0200 |
commit | 0c3252d58c54c87ee0f8f40d840e0146a3b1d5fd (patch) | |
tree | dde81b0a0c12994b12027e7c62cdbc67c2d67884 /arch/s390/appldata | |
parent | 887d935a84df41f154508821c6b7d96de7dc2c41 (diff) | |
download | kernel_samsung_tuna-0c3252d58c54c87ee0f8f40d840e0146a3b1d5fd.zip kernel_samsung_tuna-0c3252d58c54c87ee0f8f40d840e0146a3b1d5fd.tar.gz kernel_samsung_tuna-0c3252d58c54c87ee0f8f40d840e0146a3b1d5fd.tar.bz2 |
[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.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |