jump_label: Fix jump_label update for modules
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Tue, 21 Jun 2011 02:35:55 +0000 (10:35 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 29 Jun 2011 13:59:17 +0000 (09:59 -0400)
commit140fe3b1ab9c082182ef13359fab4ddba95c24c3
treee59debeb1aea1650fd490b0264f66b4f70a26aca
parentdebf1d4948bccf58fa172acb1a7306792d77705d
jump_label: Fix jump_label update for modules

The jump labels entries for modules do not stop at __stop__jump_table,
but after mod->jump_entries + mod_num_jump_entries.

By checking the wrong end point, module trace events never get enabled.

Cc: Ingo Molnar <mingo@elte.hu>
Acked-by: Jason Baron <jbaron@redhat.com>
Tested-by: Avi Kivity <avi@redhat.com>
Tested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/4E00038B.2060404@cn.fujitsu.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/jump_label.c