]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7884/1: mm: Fix ECC mem policy printk
authorMichal Simek <michal.simek@xilinx.com>
Thu, 7 Nov 2013 11:49:53 +0000 (12:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 14 Nov 2013 11:13:10 +0000 (11:13 +0000)
commit3935f2395f7be6b8c3df3c7a9c9a7fba6a8ba4ab
tree9d6ed72e6efdfb063cbb78280b86a24981d9e550
parent3ac35abf6242f7bac3a1de651ec3caecd8ca90dd
ARM: 7884/1: mm: Fix ECC mem policy printk

ECC policy can be applied to the whole system
when this bit is implemented by SoC vendor
(IMP - bit 9 - in L1 page table entry format).
When this bit is not implemented by SoC vendor
it doesn't mean that system has no other way
how to do ECC.
This patch ensures to show this message only when ECC
is requested via cmd line ecc=on and runs on
appropriate ARM core.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c