OSDN Git Service

ARM: 9155/1: fix early early_iounmap()
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 4 Nov 2021 16:28:28 +0000 (17:28 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 12 Nov 2021 12:49:36 +0000 (12:49 +0000)
commit0d08e7bf0d0d1a29aff7b16ef516f7415eb1aa05
treece44e78456fe45a5c1344c399f68683ae8bff7fd
parent00568b8a6364e15009b345b462e927e0b9fc2bb9
ARM: 9155/1: fix early early_iounmap()

Currently __set_fixmap() bails out with a warning when called in early boot
from early_iounmap(). Fix it, and while at it, make the comment a bit easier
to understand.

Cc: <stable@vger.kernel.org>
Fixes: b089c31c519c ("ARM: 8667/3: Fix memory attribute inconsistencies when using fixmap")
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/mmu.c