Re: + simplify-kallsyms_lookup.patch added to -mm tree

From: Ingo Molnar
Date: Wed Apr 04 2007 - 04:50:45 EST



* akpm@xxxxxxxxxxxxxxxxxxxx <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> diff -puN kernel/lockdep.c~simplify-kallsyms_lookup kernel/lockdep.c
> --- a/kernel/lockdep.c~simplify-kallsyms_lookup
> +++ a/kernel/lockdep.c
> @@ -340,10 +340,7 @@ static const char *usage_str[] =
>
> const char * __get_key_name(struct lockdep_subclass_key *key, char *str)
> {
> - unsigned long offs, size;
> - char *modname;
> -
> - return kallsyms_lookup((unsigned long)key, &size, &offs, &modname, str);
> + return kallsyms_lookup((unsigned long)key, NULL, NULL, NULL, str);
> }

thanks,

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Ingo
-
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/