]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kallsyms: unify 32- and 64-bit code
authorVegard Nossum <vegard.nossum@gmail.com>
Fri, 25 Jul 2008 08:45:56 +0000 (01:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:29 +0000 (10:53 -0700)
commit2711b793eb62a5873a0ba583a69252040aef176e
tree5e65f8347b7557f2ee10699b9a4cce0f490ba8b2
parent924d9addb9b1474fc81a78a5c6706755efea7aaa
kallsyms: unify 32- and 64-bit code

Use the %p format string which already accounts for the padding you need
with a pointer type on a particular architecture.

Also replace the macro with a static inline function to match the rest of
the file.

Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kallsyms.h