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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2012 22:17:24 +0000 (14:17 -0800)
commit52459596488560825f22a9eb4c4afb3c0e2b3428
treea8265359967fc1fd6a0c768b0f34f0b118adc92a
parent588195deba991fe368241abdc4f270d6d3792e7d
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