Re: [2.6 patch] make kprobe_blacklist[] static
From: Masami Hiramatsu
Date: Mon May 05 2008 - 15:01:46 EST
Adrian Bunk wrote:
> This patch makes the needlessly global kprobe_blacklist[] static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
Thank you for fixing,
>
> ---
> d43075ce223623b39e6971fb670cd4e4c8628c94 diff --git a/kernel/kprobes.c b/kernel/kprobes.c
> index 1e0250c..26936b1 100644
> --- a/kernel/kprobes.c
> +++ b/kernel/kprobes.c
> @@ -79,7 +79,7 @@ static DEFINE_PER_CPU(struct kprobe *, kprobe_instance) = NULL;
> *
> * For such cases, we now have a blacklist
> */
> -struct kprobe_blackpoint kprobe_blacklist[] = {
> +static struct kprobe_blackpoint kprobe_blacklist[] = {
> {"preempt_schedule",},
> {NULL} /* Terminator */
> };
>
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@xxxxxxxxxx
--
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/