Alison Wang 53fd4b8c22 arm: mmu: Add missing volatile for reading SCTLR register
Add 'volatile' qualifier to the asm statement in get_cr()
so that the statement is not optimized out by the compiler.

(http://comments.gmane.org/gmane.linux.linaro.toolchain/5163)

Without the 'volatile', get_cr() returns a wrong value which
prevents enabling the MMU  and later causes a PCIE VA access
failure.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
2015-10-16 07:55:51 +02:00
..
2015-10-15 09:05:13 -04:00
2015-08-12 20:47:36 -04:00
2015-02-25 07:59:50 +01:00
2015-09-02 21:28:24 -06:00
2015-05-28 08:18:24 -04:00
2015-09-16 16:10:22 -07:00
2015-09-16 16:10:22 -07:00
2015-09-16 16:10:22 -07:00
2015-09-16 16:10:22 -07:00
2015-10-02 10:42:31 +02:00
2015-04-22 12:14:55 -04:00
2014-07-04 19:57:22 +02:00
2015-08-24 20:30:37 +02:00
2015-06-15 10:57:26 -04:00
2014-04-08 00:15:12 +02:00
2012-05-15 08:31:26 +02:00
2015-04-16 11:27:15 +02:00
2015-09-28 10:48:24 -04:00
2014-01-09 16:08:44 +01:00