From mboxrd@z Thu Jan 1 00:00:00 1970 From: bill4carson@gmail.com (bill4carson at gmail.com) Date: Mon, 30 Jan 2012 09:43:11 +0800 Subject: [PATCH V2] Skip unnecessary pte makeup when clearing it Message-ID: <1327887792-3103-1-git-send-email-bill4carson@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 Cc: Catalin Marinas Cc: Uwe Kleine-K?nig Cc: arm-mail-list 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(-)