Re: [PATCH] kernel/kprobes.c: Made kprobe_blacklist static.

From: Masami Hiramatsu
Date: Fri Jul 11 2008 - 08:40:41 EST


Daniel Guilak wrote:
> Signed-off-by: Daniel Guilak <daniel@xxxxxxxxxxxxxxxx>

Thank you for cleaning up.
Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

> ---
> kernel/kprobes.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/kprobes.c b/kernel/kprobes.c
> index d4998f8..1485ca8 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/