]> git.hungrycats.org Git - linux/commit
[ARM] Don't read the CPU control reg back - it may be write only.
authorRussell King <rmk@flint.arm.linux.org.uk>
Fri, 5 Sep 2003 17:36:50 +0000 (18:36 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Fri, 5 Sep 2003 17:36:50 +0000 (18:36 +0100)
commit226b6932f8d1509e16bfc51ad85d4f6f9ff3074f
tree25c388867690fd1f1c92b5e32d2961ba29d78615
parenta350bc24ded3aabf571b39ea81f08d20c6749fec
[ARM] Don't read the CPU control reg back - it may be write only.

Some ARM CPUs don't allow CP15 CR1 control register to be read.
Therefore, to ensure that the value hits the control register on
Xscale, read back the CP15 CR0 ID register instead.
arch/arm/kernel/head.S