__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 9920722..6c41b1f 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)
 {