diff options
Diffstat (limited to 'arch/s390/appldata')
-rw-r--r-- | arch/s390/appldata/appldata_base.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c index 0c3cf4b16ae4..ee89b33145d5 100644 --- a/arch/s390/appldata/appldata_base.c +++ b/arch/s390/appldata/appldata_base.c | |||
@@ -668,45 +668,7 @@ EXPORT_SYMBOL_GPL(appldata_register_ops); | |||
668 | EXPORT_SYMBOL_GPL(appldata_unregister_ops); | 668 | EXPORT_SYMBOL_GPL(appldata_unregister_ops); |
669 | EXPORT_SYMBOL_GPL(appldata_diag); | 669 | EXPORT_SYMBOL_GPL(appldata_diag); |
670 | 670 | ||
671 | #ifdef MODULE | ||
672 | /* | ||
673 | * Kernel symbols needed by appldata_mem and appldata_os modules. | ||
674 | * However, if this file is compiled as a module (for testing only), these | ||
675 | * symbols are not exported. In this case, we define them locally and export | ||
676 | * those. | ||
677 | */ | ||
678 | void si_swapinfo(struct sysinfo *val) | ||
679 | { | ||
680 | val->freeswap = -1ul; | ||
681 | val->totalswap = -1ul; | ||
682 | } | ||
683 | |||
684 | unsigned long avenrun[3] = {-1 - FIXED_1/200, -1 - FIXED_1/200, | ||
685 | -1 - FIXED_1/200}; | ||
686 | int nr_threads = -1; | ||
687 | |||
688 | void get_full_page_state(struct page_state *ps) | ||
689 | { | ||
690 | memset(ps, -1, sizeof(struct page_state)); | ||
691 | } | ||
692 | |||
693 | unsigned long nr_running(void) | ||
694 | { | ||
695 | return -1; | ||
696 | } | ||
697 | |||
698 | unsigned long nr_iowait(void) | ||
699 | { | ||
700 | return -1; | ||
701 | } | ||
702 | |||
703 | /*unsigned long nr_context_switches(void) | ||
704 | { | ||
705 | return -1; | ||
706 | }*/ | ||
707 | #endif /* MODULE */ | ||
708 | EXPORT_SYMBOL_GPL(si_swapinfo); | 671 | EXPORT_SYMBOL_GPL(si_swapinfo); |
709 | EXPORT_SYMBOL_GPL(nr_threads); | 672 | EXPORT_SYMBOL_GPL(nr_threads); |
710 | EXPORT_SYMBOL_GPL(nr_running); | 673 | EXPORT_SYMBOL_GPL(nr_running); |
711 | EXPORT_SYMBOL_GPL(nr_iowait); | 674 | EXPORT_SYMBOL_GPL(nr_iowait); |
712 | //EXPORT_SYMBOL_GPL(nr_context_switches); | ||