Re: [PATCH 10/10] module: fix is_exported() to return true for all types of exports

From: Rusty Russell
Date: Wed Nov 04 2009 - 03:33:00 EST

On Tue, 3 Nov 2009 08:36:22 pm Alan Jenkins wrote:
> /proc/kallsyms annotates module symbols as global (e.g. 'D' for a data
> symbol) or local (e.g. 'd'), depending on whether is_exported() returns
> true or false.
> Historically, is_exported() only returns true if the symbol was exported
> using EXPORT_SYMBOL(). EXPORT_SYMBOL_UNUSED(), for example, is not taken
> into account. This looks like an oversight, so let's fix it.
> Signed-off-by: Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx>

Yep, I noticed the same thing when you patched it.

PS. Very happy with this series, if no other issues I'll take it happily!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at