]> git.karo-electronics.de Git - karo-tx-linux.git/commit
module: fix BUG_ON() for powerpc (and other function descriptor archs)
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 26 Aug 2009 12:32:54 +0000 (22:02 +0930)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Aug 2009 19:33:19 +0000 (12:33 -0700)
commit7d1d16e416e61aeef8655d542f8e4a4fc6e808e4
treedfa53b29720cffdba1a64876de30567b6ed5e766
parent0a80fb10239b04c45e5e80aad8d4b2ca5ac407b2
module: fix BUG_ON() for powerpc (and other function descriptor archs)

The rarely-used symbol_put_addr() needs to use dereference_function_descriptor
on powerpc.

Reported-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/module.c