summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/net/dst.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index c25cdac635ed..1fbb39584b97 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -11,6 +11,7 @@
#include <linux/config.h>
#include <linux/rtnetlink.h>
#include <net/neighbour.h>
+#include <asm/processor.h>
/*
* 0 - no debugging messages
@@ -141,10 +142,9 @@ void dst_release(struct dst_entry * dst)
{
if (dst) {
if (atomic_read(&dst->__refcnt) < 1) {
- __label__ __lbl;
printk("BUG: dst underflow %d: %p\n",
- atomic_read(&dst->__refcnt), &&__lbl);
-__lbl:
+ atomic_read(&dst->__refcnt),
+ current_text_addr());
}
atomic_dec(&dst->__refcnt);
}