]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl-booke: Use SPRN_SPRGn rather than mfsprg/mtsprg
authorScott Wood <scottwood@freescale.com>
Thu, 2 Jan 2014 22:37:50 +0000 (16:37 -0600)
committerScott Wood <scottwood@freescale.com>
Wed, 8 Jan 2014 01:06:03 +0000 (19:06 -0600)
commit0abd832c22c3c6e823eda5113d8c52805d8c8608
treed3753682c887b2fc1a56dd58c60944923e05d4ed
parentcd11947669a9e5095316bfa7dd54d90c83ed8852
powerpc/fsl-booke: Use SPRN_SPRGn rather than mfsprg/mtsprg

This fixes a build break that was probably introduced with the removal
of -Wa,-me500 (commit 0b6a1702cbe36550d6e22ae462c82c1d5c3af37f), where
the assembler refuses to recognize SPRG4-7 with a generic PPC target.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Dongsheng Wang <dongsheng.wang@freescale.com>
Cc: Anton Vorontsov <avorontsov@mvista.com>
Reviewed-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Tested-by: Wang Dongsheng <dongsheng.wang@freescale.com>
arch/powerpc/kernel/swsusp_booke.S