]> git.baikalelectronics.ru Git - kernel.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)
commit4a8f75340681d23ac281d94d742f9598607ae52e
treedfa53b29720cffdba1a64876de30567b6ed5e766
parent056953b98678d8f1e1c8a64e04194032798d2187
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