From patchwork Sat Feb 12 11:09:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Cohen X-Patchwork-Id: 551671 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1CBA0jS030701 for ; Sat, 12 Feb 2011 11:10:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752217Ab1BLLJ5 (ORCPT ); Sat, 12 Feb 2011 06:09:57 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:54993 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752052Ab1BLLJ5 (ORCPT ); Sat, 12 Feb 2011 06:09:57 -0500 Received: by ewy5 with SMTP id 5so1723738ewy.19 for ; Sat, 12 Feb 2011 03:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=SCscrdSeOS+DBo+irsZn+06WJasTuMooD71s4zMLOpA=; b=f1CivilvTV1vJlVLAGiGOp3khyRAMHBgtLnjI/faMUThwZUtxQm089yvgvmVc9droT 89tzHyJTTc6y2PjWXXhXrjZikq68jDrSgE1Mzr6SNMH5iwYzCFE6aGHbAu0LlKdkzCW2 4oauzzdh8tMwkD2DvMCXFseAGRte9A3ICLtEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=d3kwnSdODawgFci2uZh1IKweNjtSE1u3XD04ANIKRe6kbW/gDy6wt1ebR22/HdMPtq rHvwMGs72pQZR3Fujly7d1BSioPYnxlGjfiH9oFVSxPp+sTQVvsP9G51lsL9zzCciIp6 TT+Bhz/azZbzEvwdMAmghjxPzNPPIiNmlbUrI= Received: by 10.14.45.75 with SMTP id o51mr1563167eeb.49.1297508995940; Sat, 12 Feb 2011 03:09:55 -0800 (PST) Received: from localhost.localdomain (a91-152-85-108.elisa-laajakaista.fi [91.152.85.108]) by mx.google.com with ESMTPS id b52sm326432eei.19.2011.02.12.03.09.54 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Feb 2011 03:09:55 -0800 (PST) From: David Cohen To: Hiroshi.DOYU@nokia.com Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tony@atomide.com, David Cohen Subject: [PATCH] OMAP: IOMMU: add missing function declaration Date: Sat, 12 Feb 2011 13:09:47 +0200 Message-Id: <1297508987-9193-1-git-send-email-dacohen@gmail.com> X-Mailer: git-send-email 1.7.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 12 Feb 2011 11:10:01 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/plat/iommu.h b/arch/arm/plat-omap/include/plat/iommu.h index 9e8c104..5a2475f 100644 --- a/arch/arm/plat-omap/include/plat/iommu.h +++ b/arch/arm/plat-omap/include/plat/iommu.h @@ -163,6 +163,8 @@ extern void flush_iotlb_range(struct iommu *obj, u32 start, u32 end); extern void flush_iotlb_all(struct iommu *obj); extern int iopgtable_store_entry(struct iommu *obj, struct iotlb_entry *e); +extern void iopgtable_lookup_entry(struct iommu *obj, u32 da, u32 **ppgd, + u32 **ppte); extern size_t iopgtable_clear_entry(struct iommu *obj, u32 iova); extern int iommu_set_da_range(struct iommu *obj, u32 start, u32 end);