diff --git a/[refs] b/[refs] index c945341bc215..6c2b7422f08d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f43c5a0df38e12f53a3023175a12da9b7ef0df63 +refs/heads/master: 31bd06eb33bbabe643385a861d780d950ca73846 diff --git a/trunk/net/sched/police.c b/trunk/net/sched/police.c index a8345163cc60..fa877f8f652c 100644 --- a/trunk/net/sched/police.c +++ b/trunk/net/sched/police.c @@ -407,7 +407,7 @@ police_cleanup_module(void) module_init(police_init_module); module_exit(police_cleanup_module); -#endif +#else /* CONFIG_NET_CLS_ACT */ struct tcf_police * tcf_police_locate(struct rtattr *rta, struct rtattr *est) { @@ -544,6 +544,7 @@ int tcf_police(struct sk_buff *skb, struct tcf_police *p) spin_unlock(&p->lock); return p->action; } +EXPORT_SYMBOL(tcf_police); int tcf_police_dump(struct sk_buff *skb, struct tcf_police *p) { @@ -600,13 +601,4 @@ int tcf_police_dump_stats(struct sk_buff *skb, struct tcf_police *p) return -1; } - -EXPORT_SYMBOL(tcf_police); -EXPORT_SYMBOL(tcf_police_destroy); -EXPORT_SYMBOL(tcf_police_dump); -EXPORT_SYMBOL(tcf_police_dump_stats); -EXPORT_SYMBOL(tcf_police_hash); -EXPORT_SYMBOL(tcf_police_ht); -EXPORT_SYMBOL(tcf_police_locate); -EXPORT_SYMBOL(tcf_police_lookup); -EXPORT_SYMBOL(tcf_police_new_index); +#endif /* CONFIG_NET_CLS_ACT */