sparc64: Patch sun4v code sequences properly on module load.
authorDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2011 06:44:58 +0000 (22:44 -0800)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 11 Jan 2012 18:17:57 +0000 (10:17 -0800)
commit74eee71d8e2386aa45e01122463640e483cae3d4
tree2d1e128d43d5ff13f1b16e985f25686eac3e9c9d
parente37f4d7f467c30109461af53a6ca75308b3338bb
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>
Change-Id: I52459596488560825f22a9eb4c4afb3c0e2b3428
Reviewed-on: http://git-master/r/74206
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
arch/sparc/kernel/entry.h
arch/sparc/kernel/module.c
arch/sparc/kernel/setup_64.c