[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DFF9845.1030906@cn.fujitsu.com>
Date: Tue, 21 Jun 2011 02:58:13 +0800
From: Xiao Guangrong <xiaoguangrong@...fujitsu.com>
To: Jiri Olsa <jolsa@...hat.com>
CC: Ingo Molnar <mingo@...e.hu>, Jason Baron <jbaron@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] jump_label: fix jump_label update
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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists