diff options
author | Olaf Hering <olh@suse.de> | 2004-11-07 04:11:09 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-07 04:11:09 -0800 |
commit | 7602d24973c896f3d5070d96e8c19377d6e25c36 (patch) | |
tree | 7c80a8a13b97e1f11b249829eac32bec43928a9f /init | |
parent | 38b7c3b242e7664a1b5ffde439b4375c6770ba76 (diff) | |
download | history-7602d24973c896f3d5070d96e8c19377d6e25c36.tar.gz |
[PATCH] fix initcall_debug on ppc64/ia64
ia64 and ppc64 have function descriptors. Booting with initcall_debug will
print the descriptor address, not the address and name of the actual
function. Another indirection is required.
Tested on ppc, ppc64 and ia64.
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 4b20c9303bd4f7..ecc39fafe51c21 100644 --- a/init/main.c +++ b/init/main.c @@ -604,7 +604,7 @@ static void __init do_initcalls(void) if (initcall_debug) { printk(KERN_DEBUG "Calling initcall 0x%p", *call); - print_symbol(": %s()", (unsigned long) *call); + print_fn_descriptor_symbol(": %s()", (unsigned long) *call); printk("\n"); } |