dynamic debug: Fix build issue with older gcc
authorJason Baron <jbaron@redhat.com>
Fri, 7 Jan 2011 18:36:58 +0000 (13:36 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 8 Jan 2011 04:36:59 +0000 (23:36 -0500)
commit2d75af2f2a7a6103a6d539a492fe81deacabde44
tree283f6f7acc28936e25656502e77e10909fde7d6f
parent870915e047a2da695be118d32dd5a900f0c3e933
dynamic debug: Fix build issue with older gcc

On older gcc (3.3) dynamic debug fails to compile:

include/net/inet_connection_sock.h: In function `inet_csk_reset_xmit_timer':
include/net/inet_connection_sock.h:236: error: duplicate label declaration `do_printk'
include/net/inet_connection_sock.h:219: error: this is a previous declaration
include/net/inet_connection_sock.h:236: error: duplicate label declaration `out'
include/net/inet_connection_sock.h:219: error: this is a previous declaration
include/net/inet_connection_sock.h:236: error: duplicate label `do_printk'
include/net/inet_connection_sock.h:236: error: duplicate label `out'

Fix, by reverting the usage of JUMP_LABEL() in dynamic debug for now.

Cc: <stable@kernel.org>
Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/dynamic_debug.h
lib/dynamic_debug.c