diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-04-27 10:01:59 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-04-27 10:01:47 -0400 |
commit | 9ff6f4577e69801a43c0d58606a80040aecbc4bc (patch) | |
tree | 2b297297b88dda87c2010c36c17a0fa5e300586a /arch/s390 | |
parent | ecdcc0234b27472b561378ac59e2beeea06ec6ff (diff) |
[S390] Remove debugging junk.
arch/s390/appldata/appldata_base.c has some confusing debugging code left
over to allow compiling it as a module. In practice, it cannot be configured
as module and there is no need to keep that code.
Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-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); | ||