From patchwork Sat Dec 19 03:46:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 68902 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBJ3kCS5007438 for ; Sat, 19 Dec 2009 03:46:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755243AbZLSDqW (ORCPT ); Fri, 18 Dec 2009 22:46:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755180AbZLSDqV (ORCPT ); Fri, 18 Dec 2009 22:46:21 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:55570 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755174AbZLSDqU (ORCPT ); Fri, 18 Dec 2009 22:46:20 -0500 Received: from c-67-160-239-110.hsd1.ca.comcast.net ([67.160.239.110] helo=[127.0.0.1]) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from ) id 1NLqGq-0000gS-6W; Sat, 19 Dec 2009 03:46:20 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 67.160.239.110 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/OiQ+ZPAt4Y6ly94vlvmxx Subject: [PATCH 3/5] arm: Flush TLB entries in setup_mm_for_reboot() To: linux-arm-kernel@lists.infradead.org From: Tony Lindgren Cc: linux-omap@vger.kernel.org Date: Fri, 18 Dec 2009 19:46:19 -0800 Message-ID: <20091219034619.26198.58992.stgit@localhost> In-Reply-To: <20091219034151.26198.26570.stgit@localhost> References: <20091219034151.26198.26570.stgit@localhost> User-Agent: StGit/0.15-6-gbbd0 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 8c7fbd1..a2802ea 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -1068,4 +1068,7 @@ void setup_mm_for_reboot(char mode) pmd[1] = __pmd(pmdval + (1 << (PGDIR_SHIFT - 1))); flush_pmd_entry(pmd); } + + local_flush_tlb_all(); + flush_cache_all(); }