trace_skb: fix build when CONFIG_NET is not enabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 17 Aug 2009 23:00:30 +0000 (16:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Aug 2009 23:00:30 +0000 (16:00 -0700)
commit3a5209e3b26386fd174820ee6e8e27479b24869a
tree40a5e47e5c2a97d8dcd9bf6159b5b550f48d0527
parent1758c0947605211ef953cc91d6bbdf847a21b822
trace_skb: fix build when CONFIG_NET is not enabled

Fix trace_skb_sources build when CONFIG_NET is not enabled:

kernel/built-in.o: In function `probe_skb_dequeue':
trace_skb_sources.c:(.text+0xd9152): undefined reference to `init_net'
trace_skb_sources.c:(.text+0xd9188): undefined reference to `dev_get_by_index'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/trace/Kconfig