From patchwork Tue Aug 11 09:25:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiroshi DOYU X-Patchwork-Id: 40595 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 n7BCFWn8031169 for ; Tue, 11 Aug 2009 12:15:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753414AbZHKMJL (ORCPT ); Tue, 11 Aug 2009 08:09:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753448AbZHKMI6 (ORCPT ); Tue, 11 Aug 2009 08:08:58 -0400 Received: from smtp.nokia.com ([192.100.122.230]:23767 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753329AbZHKMIy (ORCPT ); Tue, 11 Aug 2009 08:08:54 -0400 Received: from mgw-mx06.nokia.com (mgw-mx06.nokia.com [192.100.122.233]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n7B9i6QC023046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 Aug 2009 12:44:08 +0300 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n7B9OwSf018637 for ; Tue, 11 Aug 2009 12:25:05 +0300 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 11 Aug 2009 12:25:14 +0300 Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 11 Aug 2009 12:25:13 +0300 Received: from oreo.research.nokia.com (esdhcp04130.research.nokia.com [172.21.41.30]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n7B9P5s9013152 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 11 Aug 2009 12:25:07 +0300 Received: from doyu by oreo.research.nokia.com with local (Exim 4.69) (envelope-from ) id 1ManbS-0008FM-CF; Tue, 11 Aug 2009 12:25:10 +0300 From: Hiroshi DOYU To: linux-omap@vger.kernel.org Cc: Hiroshi DOYU Subject: [PATCH 1/1] omap iommu: fix wrong argument in flush_cache_vmap() Date: Tue, 11 Aug 2009 12:25:10 +0300 Message-Id: <1249982710-31681-1-git-send-email-Hiroshi.DOYU@nokia.com> X-Mailer: git-send-email 1.6.0.4 X-OriginalArrivalTime: 11 Aug 2009 09:25:14.0051 (UTC) FILETIME=[A1B54130:01CA1A65] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c index e1b03b9..18ef59a 100644 --- a/arch/arm/plat-omap/iovmm.c +++ b/arch/arm/plat-omap/iovmm.c @@ -194,7 +194,7 @@ static void *vmap_sg(const struct sg_table *sgt) va += bytes; } - flush_cache_vmap(new->addr, total); + flush_cache_vmap(new->addr, new->addr + total); return new->addr; err_out: