Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[genksyms patch 2/4] Include extern information in dumps

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


agruen at suse

Jul 20, 2008, 7:28 PM

Post #1 of 2 (123 views)
Permalink
[genksyms patch 2/4] Include extern information in dumps

The extern flag currently is not included in type dump files
(genksyms --dump-types). Include that flag there for completeness.

Signed-off-by: Andreas Gruenbacher <agruen[at]suse.de>

---
scripts/genksyms/genksyms.c | 2 ++
1 file changed, 2 insertions(+)

Index: b/scripts/genksyms/genksyms.c
===================================================================
--- a/scripts/genksyms/genksyms.c
+++ b/scripts/genksyms/genksyms.c
@@ -546,6 +546,8 @@ int main(int argc, char **argv)
}
fputs(sym->name, dumpfile);
putc(' ', dumpfile);
+ if (sym->is_extern)
+ fputs("extern ", dumpfile);
print_list(dumpfile, sym->defn);
putc('\n', dumpfile);



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


sam at ravnborg

Jul 31, 2008, 2:18 PM

Post #2 of 2 (90 views)
Permalink
Re: [genksyms patch 2/4] Include extern information in dumps [In reply to]

On Mon, Jul 21, 2008 at 04:28:25AM +0200, Andreas Gruenbacher wrote:
> The extern flag currently is not included in type dump files
> (genksyms --dump-types). Include that flag there for completeness.
>
> Signed-off-by: Andreas Gruenbacher <agruen[at]suse.de>

Applied to kbuild-fixes.

The reamining two patches will wait until I get a closer look
at them.

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.