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 <>
Signed-off-by: Russell King <>
(cherry picked from commit 1f92f77ab68a012638afa9e001b7a1e1e5197930)

TEST=serial earlycon works

Change-Id: I2e809f587f33bb385a19deefda1df64d45ff6aa3
Signed-off-by: Matthew McClintock <>
Commit-Ready: Matthew McClintock <>
Tested-by: Matthew McClintock <>
Reviewed-by: Grant Grundler <>
1 file changed