[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <16597.1195167337@redhat.com>
Date: Thu, 15 Nov 2007 22:55:37 +0000
From: David Howells <dhowells@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: dhowells@...hat.com, torvalds@...ux-foundation.org,
linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>
Subject: Re: [PATCH] FRV: Fix the extern declaration of kallsyms_num_syms [try #2]
Andrew Morton <akpm@...ux-foundation.org> wrote:
> hm, OK, so it lines up with what scripts/kallsyms.c presently does.
I'm sure there's a way to pass the kallsyms_num_syms value directly by way of
the linker rather than consigning it to a bit of memory.
The immediately obvious way is to declare it to be at an address that it the
symbol count value, and then C can do "&kallsyms_num_syms" to get at it.
Horrible, I know, but I'm not sure it's worse than some of the other stuff we
do.
David
-
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