sparc64: Patch sun4v code sequences properly on module load.
commitcff6d2096e9a57c2497dd5ee4aed3c97149bfc9e
authorDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2011 06:44:58 +0000 (17 22:44 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2012 22:14:02 +0000 (6 14:14 -0800)
treea269f55f7d1043b3cfbbde550e080982be5b8fad
parentfde939495571ffd22458e94745b0c2e6af33478d
sparc64: Patch sun4v code sequences properly on module load.

[ Upstream commit 0b64120cceb86e93cb1bda0dc055f13016646907 ]

Some of the sun4v code patching occurs in inline functions visible
to, and usable by, modules.

Therefore we have to patch them up during module load.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/kernel/entry.h
arch/sparc/kernel/module.c
arch/sparc/kernel/setup_64.c