Re: [PATCH] jump_label: fix jump_label update

From: Xiao Guangrong
Date: Mon Jun 20 2011 - 14:56:16 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/