]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Clean up 'print_fn_descriptor_symbol()' types
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 May 2008 00:50:37 +0000 (17:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 May 2008 00:50:37 +0000 (17:50 -0700)
commita442ac512f36981182e66a427ad05f449ff6593b
tree8a99f2f4cb7f66e816163068c0c2c709c1852ac6
parent7371fd11a6e2aed99895db4f100940fa5022f7fe
Clean up 'print_fn_descriptor_symbol()' types

Everybody wants to pass it a function pointer, and in fact, that is what
you _must_ pass it for it to make sense (since it knows that ia64 and
ppc64 use descriptors for function pointers and fetches the actual
address from there).

So don't make the argument be a 'unsigned long' and force everybody to
add a cast.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/power/main.c
drivers/pci/quirks.c
drivers/pnp/quirks.c
include/linux/kallsyms.h
init/main.c