summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Sant <sachinp@in.ibm.com>2009-03-26 15:24:00 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 15:24:10 +0100
commit70193af9188113c9b4ff3dde1aed9f9c8f7c4f93 (patch)
tree80081092406f7f41c0138558a70d59a7d5d799dd
parentcc54c1e66e4b90ab657464fec30e6970636ee23d (diff)
downloadop-kernel-dev-70193af9188113c9b4ff3dde1aed9f9c8f7c4f93.zip
op-kernel-dev-70193af9188113c9b4ff3dde1aed9f9c8f7c4f93.tar.gz
[S390] Fix appldata build break with !NET
With CONFIG_NET not set appldata build breaks on s390. arch/s390/appldata/built-in.o: In function appldata_get_net_sum_data: appldata_net_sum.c:(.text+0x2684): undefined reference to dev_get_stats appldata_net_sum.c:(.text+0x2688): undefined reference to init_net appldata_net_sum.c:(.text+0x268c): undefined reference to init_net appldata_net_sum.c:(.text+0x2694): undefined reference to dev_base_lock The following patch fixes the issue for me. Signed-off-by: Sachin Sant <sachinp@in.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 6b0a353..3f47060 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -521,7 +521,7 @@ config APPLDATA_OS
config APPLDATA_NET_SUM
tristate "Monitor overall network statistics"
- depends on APPLDATA_BASE
+ depends on APPLDATA_BASE && NET
help
This provides network related data to the Linux - VM Monitor Stream,
currently there is only a total sum of network I/O statistics, no
OpenPOWER on IntegriCloud