Skip to contentSkip to conversation

Skip unnecessary pte makeup when clearing it

PATCH Superseded bill4carson at gmail.com 1 participant 1 message Jan 30, 2012

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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.

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(-)