This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH][bugfix] kprobes: fix module compilation error with CONFIG_KPROBES=n
- From: Masami Hiramatsu <mhiramat at redhat dot com>
- To: Andrew Morton <akpm at linux-foundation dot org>
- Cc: ananth at in dot ibm dot com, jkenisto at us dot ibm dot com, davem at davemloft dot net, linux-kernel at vger dot kernel dot org, systemtap at sources dot redhat dot com
- Date: Mon, 12 Jan 2009 20:34:22 -0500
- Subject: Re: [PATCH][bugfix] kprobes: fix module compilation error with CONFIG_KPROBES=n
- References: <49628849.1000706@redhat.com> <4963894B.6000705@redhat.com> <20090112145119.3e556b78.akpm@linux-foundation.org>
Andrew Morton wrote:
> On Tue, 06 Jan 2009 11:39:39 -0500
> Masami Hiramatsu <mhiramat@redhat.com> wrote:
>
>> Masami Hiramatsu wrote:
>>
>>> Define kprobes related data structures even if CONFIG_KPROBES is not set.
>>> This fixes compilation errors which occur if CONFIG_KPROBES is not set, in
>>> kprobe using modules.
>>>
>> Oops, this patch was actually for -mm tree.
>>
>
> I assume it's needed in mainline now.
Agreed.
Thank you,
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com