[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8bd0f97a0710240919l36547278w9fdb36fd2a6fe34a@mail.gmail.com>
Date: Wed, 24 Oct 2007 12:19:52 -0400
From: "Mike Frysinger" <vapier.adi@...il.com>
To: "Robin Getz" <rgetz@...ckfin.uclinux.org>
Cc: paulus@...ba.org, linux-kernel@...r.kernel.org,
"Andrew Morton" <akpm@...ux-foundation.org>
Subject: Re: history of extratext sections?
On 10/24/07, Robin Getz <rgetz@...ckfin.uclinux.org> 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists