]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] /proc/kallsyms reports lower-case types for some non-exported symbols
authorAdam B. Jerome <abj@novell.com>
Thu, 7 Dec 2006 04:35:30 +0000 (20:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:31 +0000 (08:39 -0800)
commit07354a00901d103085e4376b7df0aad264c1836a
tree2eb8a3dec1957f0ad3423e591de5276367182070
parent960cc398a7a2acfe455b2ec33c64dc6018c83aab
[PATCH] /proc/kallsyms reports lower-case types for some non-exported symbols

This patch addresses incorrect symbol type information reported through
/proc/kallsyms.  A lowercase character should designate the symbol as local
(or non-exported).  An uppercase character should designate the symbol as
global (or external).

Without this patch, some non-exported symbols are incorrectly assigned an
upper-case designation in /proc/kallsyms.  This patch corrects this
condition by converting non-exported symbols types to lower case when
appropriate and eliminates the superfluous upcase_if_global function

Signed-off-by: Adam B. Jerome <abj@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/kallsyms.c