Skip unnecessary pte makeup when clearing it
PATCH v2 1/1 Skip unnecessary pte makeup when clearing it
If we are only about to clear a hardware pte entry, then pte makeup code is unnecessary for cpu_v7_set_pte_ext and armv6_set_pte_ext, so just skip it.
Signeed-off-by Bill Carson <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Uwe Kleine-K?nig <[email protected]>
Cc arm-mail-list <[email protected]>
Changes for V2:
- Use "1f" instead of "set_pte" as label
- Build/bootup test with thumb mode
- checkpatch script shows:
total: 0 errors, 0 warnings, 44 lines checked
./0001-Skip-unnecessary-pte-makeup-when-clearing-it.patch has no obvious style problems and is ready for submission.
arch/arm/mm/proc-macros.S | 10 +++++----- arch/arm/mm/proc-v7-2level.S | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-)