Signed-off-by: Daniel Guilak <[email protected]>
---
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 */
};
--
1.5.4.3
Daniel Guilak wrote:
> Signed-off-by: Daniel Guilak <[email protected]>
Thank you for cleaning up.
Acked-by: Masami Hiramatsu <[email protected]>
> ---
> 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: [email protected]