ARM: ensure C page table setup code follows assembly code (part II)
commit20e7e364331d7b5590695a839a18a00547403f18
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Jun 2014 08:29:37 +0000 (2 09:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Jun 2014 11:52:43 +0000 (2 12:52 +0100)
treedf44deaa7b2a774dcde2495c3b78eb9c948f95bd
parentca8f0b0a545f55b3dc6877cda24d609a8979c951
ARM: ensure C page table setup code follows assembly code (part II)

This does the same as the previous commit, but for the S bit, which also
needs to match the initial value which the assembly code used for the
same reasons.  Again, we add a check for SMP to ensure that the page
tables are correctly setup for SMP.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c