From: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
To: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>, Jason Baron <jbaron@redhat.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] jump_label: fix jump_label update
Date: Tue, 21 Jun 2011 02:58:13 +0800 [thread overview]
Message-ID: <4DFF9845.1030906@cn.fujitsu.com> (raw)
In-Reply-To: <20110620125345.GC2056@jolsa.brq.redhat.com>
On 06/20/2011 08:53 PM, Jiri Olsa wrote:
>> static void jump_label_update(struct jump_label_key *key, int enable)
>> {
>> - struct jump_entry *entry = key->entries;
>> + struct jump_entry *entry = key->entries, *stop = __stop___jump_table;
>> + struct module *mod = __module_address((jump_label_t)key);
>> +
>> + if (mod)
>> + stop = mod->jump_entries + mod->num_jump_entries;
> this breaks !CONFIG_MODULES compilation
>
I will fix it, thanks Jiri!
next prev parent reply other threads:[~2011-06-20 18:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-17 20:02 [PATCH] jump_label: fix jump_label update Xiao Guangrong
2011-06-20 12:53 ` Jiri Olsa
2011-06-20 18:58 ` Xiao Guangrong [this message]
2011-06-21 0:39 ` Steven Rostedt
2011-06-21 1:30 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DFF9845.1030906@cn.fujitsu.com \
--to=xiaoguangrong@cn.fujitsu.com \
--cc=jbaron@redhat.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox