This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] stp_for_each_cpu: use for_each_possible_cpu() on kernel >= 2.6.28


Eduardo Habkost wrote:
> On Wed, Nov 19, 2008 at 09:42:30AM -0500, Masami Hiramatsu wrote:
>> Hi Eduardo,
>>
>> I think you'd better add new autoconf-foreachcpu.c for checking existence of
>> for_each_cpu_possible() macro, instead of checking KERNEL_VERSION.
> 
> Why? for_each_cpu_possible() exists since 2.6.17. The original
> for_each_cpu() fix didn't use an autoconf-*.c check.

Oh, in that case, it's ok for me.

Thank you,
-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division

e-mail: mhiramat@redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]