From add026ec81498b766c258ce11a4fdeabe2fde1bc Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 4 Nov 2002 22:40:11 -0800 Subject: Avoid gcc warning, and clean up current text address handling (it's "current_text_addr()", not the home-brew gcc label magic) --- include/net/dst.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/net') 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 #include #include +#include /* * 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); } -- cgit v1.2.3