On 10/24/07, Robin Getz <[EMAIL PROTECTED]> wrote: > - make the check dependant on extratext being populated > =================================================================== > --- linux-2.6.x/kernel/kallsyms.c (revision 3760) > +++ linux-2.6.x/kernel/kallsyms.c (working copy) > @@ -51,7 +51,8 @@ > static inline int is_kernel_extratext(unsigned long addr) > { > if (addr >= (unsigned long)_sextratext > - && addr <= (unsigned long)_eextratext) > + && addr <= (unsigned long)_eextratext > + && _sextratext && _eextratext) > return 1; > return 0; > }
i think you'd want: if (_sextratext && _eextratext && ... everything else ... -mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/