__dst_free(): put EXPORT_SYMBOLS after the fct
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 19 Jul 2010 23:51:38 +0000 (23:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2010 20:28:03 +0000 (13:28 -0700)
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dst.c

index 9920722cc82b84490cc75d2010976d5652ae4f4b..6c41b1fac3db56a62f5e0f24f3cb76f34e978800 100644 (file)
@@ -197,7 +197,6 @@ static void ___dst_free(struct dst_entry *dst)
                dst->input = dst->output = dst_discard;
        dst->obsolete = 2;
 }
-EXPORT_SYMBOL(__dst_free);
 
 void __dst_free(struct dst_entry *dst)
 {
@@ -213,6 +212,7 @@ void __dst_free(struct dst_entry *dst)
        }
        spin_unlock_bh(&dst_garbage.lock);
 }
+EXPORT_SYMBOL(__dst_free);
 
 struct dst_entry *dst_destroy(struct dst_entry * dst)
 {