From patchwork Fri Dec 4 14:52:55 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco VIRLINZI X-Patchwork-Id: 64900 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB4EtCQG018651 for ; Fri, 4 Dec 2009 14:55:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756841AbZLDOx4 (ORCPT ); Fri, 4 Dec 2009 09:53:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756644AbZLDOxy (ORCPT ); Fri, 4 Dec 2009 09:53:54 -0500 Received: from eu1sys200aog104.obsmtp.com ([207.126.144.117]:60451 "EHLO eu1sys200aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756841AbZLDOxi (ORCPT ); Fri, 4 Dec 2009 09:53:38 -0500 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob104.postini.com ([207.126.147.11]) with SMTP ID DSNKSxkidwKN+0t4XTRIhu2DGBPkRncfoww4@postini.com; Fri, 04 Dec 2009 14:53:44 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 18D12213 for ; Fri, 4 Dec 2009 14:53:42 +0000 (GMT) Received: from mail3.ctn.st.com (mail3.ctn.st.com [164.130.116.150]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D396AD85 for ; Fri, 4 Dec 2009 14:53:41 +0000 (GMT) Received: from localhost (mdt-dhcp41.ctn.st.com [10.52.139.41]) by mail3.ctn.st.com (MOS 3.8.7a) with ESMTP id CXA54420 (AUTH virlinzi); Fri, 4 Dec 2009 15:53:44 +0100 (CET) From: Francesco VIRLINZI To: linux-sh@vger.kernel.org Cc: Francesco Virlinzi , Stuart Menefy Subject: [PATCH (sh-2.6.30.y) 13/13] sh: pmb: Fixed resume from hibernation Date: Fri, 4 Dec 2009 15:52:55 +0100 Message-Id: <1259938375-27499-13-git-send-email-francesco.virlinzi@st.com> X-Mailer: git-send-email 1.6.2.5 In-Reply-To: <1259938375-27499-12-git-send-email-francesco.virlinzi@st.com> References: <1259938375-27499-1-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-2-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-3-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-4-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-5-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-6-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-7-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-8-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-9-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-10-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-11-git-send-email-francesco.virlinzi@st.com> <1259938375-27499-12-git-send-email-francesco.virlinzi@st.com> 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/pmb.c b/arch/sh/mm/pmb.c index d28f040..91293dd 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c @@ -102,6 +102,7 @@ static __always_inline void __set_pmb_entry(unsigned long vpn, */ ctrl_outl(vpn, mk_pmb_addr(pos)); ctrl_outl(ppn | flags | PMB_V, mk_pmb_data(pos)); + ctrl_inl(mk_pmb_addr(pos)); } static void __uses_jump_to_uncached set_pmb_entry(unsigned long vpn,