From patchwork Tue Dec 22 16:18:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pietrek, Markus" X-Patchwork-Id: 69293 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 nBMGNjG0032057 for ; Tue, 22 Dec 2009 16:23:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753925AbZLVQXo (ORCPT ); Tue, 22 Dec 2009 11:23:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753749AbZLVQXo (ORCPT ); Tue, 22 Dec 2009 11:23:44 -0500 Received: from mail3.emtrion.de ([80.150.99.69]:36483 "EHLO mail3.emtrion.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753827AbZLVQXn convert rfc822-to-8bit (ORCPT ); Tue, 22 Dec 2009 11:23:43 -0500 X-Greylist: delayed 324 seconds by postgrey-1.27 at vger.kernel.org; Tue, 22 Dec 2009 11:23:43 EST Received: from BMK019S01.emtrion.local ([::1]) by BMK019S01.emtrion.local ([fe80::4a1:cedc:cab6:e9ce%10]) with mapi; Tue, 22 Dec 2009 17:18:17 +0100 From: "Pietrek, Markus" To: "linux-sh@vger.kernel.org" Date: Tue, 22 Dec 2009 17:18:16 +0100 Subject: AW: Probably cache synchronization issue on SH7723 Thread-Topic: Probably cache synchronization issue on SH7723 Thread-Index: Acp0regQRemAgN5dTyGmv2ETSMzA0QOc9nHA Message-ID: <95F51F4B902CAC40AF459205F6322F0133E18561C7@BMK019S01.emtrion.local> References: <20091204064759.GA13603@linux-sh.org> In-Reply-To: <20091204064759.GA13603@linux-sh.org> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE x-tm-as-product-ver: SMEX-8.0.0.1307-6.000.1038-17086.000 x-tm-as-result: No--53.129400-8.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c index e9415d3..30c3d7e 100644 --- a/arch/sh/mm/cache.c +++ b/arch/sh/mm/cache.c @@ -136,8 +136,7 @@ void __update_cache(struct vm_area_struct *vma, if (dirty) { unsigned long addr = (unsigned long)page_address(page); - if (pages_do_alias(addr, address & PAGE_MASK)) - __flush_purge_region((void *)addr, PAGE_SIZE); + __flush_purge_region((void *)addr, PAGE_SIZE); } } }