UPSTREAM: ARM: 8239/1: Introduce {set,clear}_pte_bit

Introduce helper functions for pte_mk* functions and it would be
used to change individual bits in ptes at times.

Signed-off-by: Jungseung Lee <js07.lee@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
(cherry picked from commit 1f92f77ab68a012638afa9e001b7a1e1e5197930)

BUG=chrome-os-partner:49255
TEST=serial earlycon works

Change-Id: I2e809f587f33bb385a19deefda1df64d45ff6aa3
Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/335952
Commit-Ready: Matthew McClintock <mmcclint@qca.qualcomm.com>
Tested-by: Matthew McClintock <mmcclint@qca.qualcomm.com>
Reviewed-by: Grant Grundler <grundler@chromium.org>
1 file changed