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)
commitb58a7bd6df7b61446b833a7c72f8a1f11066e0b0
treed3753682c887b2fc1a56dd58c60944923e05d4ed
parent455d23a8908319fa7ad450e65e4f09afb45057a7
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 f49596a4cf4753d13951608f24f939a59fdcc653), 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