https://github.com/torvalds/linux
Revision a442ac512f36981182e66a427ad05f449ff6593b authored by Linus Torvalds on 16 May 2008, 00:50:37 UTC, committed by Linus Torvalds on 16 May 2008, 00:50:37 UTC
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>
1 parent 7371fd1
History
Tip revision: a442ac512f36981182e66a427ad05f449ff6593b authored by Linus Torvalds on 16 May 2008, 00:50:37 UTC
Clean up 'print_fn_descriptor_symbol()' types
Tip revision: a442ac5
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 682 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 97.3 KB
Makefile -rw-r--r-- 53.7 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top