[DCCP]: fix link error with !CONFIG_SYSCTL
authorIngo Molnar <mingo@elte.hu>
Thu, 18 Oct 2007 02:33:06 +0000 (19:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 02:33:06 +0000 (19:33 -0700)
commitbd5435e76a226b7151ae5aaee2cd366ab003dd2e
tree54d0d4f05d9fe182abbac3f0d60628835df48a93
parentdc8a82ad285dcd2831feb2fd8f7b41ce1f82e243
[DCCP]: fix link error with !CONFIG_SYSCTL

Do not define the sysctl_dccp_sync_ratelimit sysctl variable in the
CONFIG_SYSCTL dependent sysctl.c module - move it to input.c instead.

This fixes the following build bug:

 net/built-in.o: In function `dccp_check_seqno':
 input.c:(.text+0xbd859): undefined reference to `sysctl_dccp_sync_ratelimit'
 distcc[29953] ERROR: compile (null) on localhost failed
 make: *** [vmlinux] Error 1

Found via 'make randconfig' build testing.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/input.c
net/dccp/sysctl.c