diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2008-07-14 03:57:27 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 04:02:00 -0400 |
commit | 0c3252d58c54c87ee0f8f40d840e0146a3b1d5fd (patch) | |
tree | dde81b0a0c12994b12027e7c62cdbc67c2d67884 /arch/s390/appldata/appldata_base.c | |
parent | 887d935a84df41f154508821c6b7d96de7dc2c41 (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/appldata_base.c')
-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 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); | |||
584 | EXPORT_SYMBOL_GPL(appldata_unregister_ops); | 584 | EXPORT_SYMBOL_GPL(appldata_unregister_ops); |
585 | EXPORT_SYMBOL_GPL(appldata_diag); | 585 | EXPORT_SYMBOL_GPL(appldata_diag); |
586 | 586 | ||
587 | #ifdef CONFIG_SWAP | ||
587 | EXPORT_SYMBOL_GPL(si_swapinfo); | 588 | EXPORT_SYMBOL_GPL(si_swapinfo); |
589 | #endif | ||
588 | EXPORT_SYMBOL_GPL(nr_threads); | 590 | EXPORT_SYMBOL_GPL(nr_threads); |
589 | EXPORT_SYMBOL_GPL(nr_running); | 591 | EXPORT_SYMBOL_GPL(nr_running); |
590 | EXPORT_SYMBOL_GPL(nr_iowait); | 592 | EXPORT_SYMBOL_GPL(nr_iowait); |