summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/u3_iommu.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2005-11-02 15:13:20 +1100
committerPaul Mackerras <paulus@samba.org>2005-11-02 15:25:51 +1100
commit9933f299d0e9e7b12ed4260669653d04d5e752c7 (patch)
treee7d13c4b66384f90e182d31dc003e860a8e06fe6 /arch/powerpc/sysdev/u3_iommu.c
parent1fc8b4ef4e1a0d6f2e16581716a4ae6e16ad3a76 (diff)
downloadop-kernel-dev-9933f299d0e9e7b12ed4260669653d04d5e752c7.zip
op-kernel-dev-9933f299d0e9e7b12ed4260669653d04d5e752c7.tar.gz
[PATCH] powerpc: Move dart.h
asm-ppc64/dart.h is included in exactly one place - arch/powerpc/sysdev/u3_iommu.c. This patch, therefore, moves it into arch/powerpc/sysdev. While we're at it, update the #ifndef/#define protecting the include, and the filename in the comments of u3_iommu.c. Built and booted on pSeries and G5, built for ppc32 powermac. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/u3_iommu.c')
-rw-r--r--arch/powerpc/sysdev/u3_iommu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/u3_iommu.c b/arch/powerpc/sysdev/u3_iommu.c
index fba871a..6077221 100644
--- a/arch/powerpc/sysdev/u3_iommu.c
+++ b/arch/powerpc/sysdev/u3_iommu.c
@@ -1,5 +1,5 @@
/*
- * arch/ppc64/kernel/u3_iommu.c
+ * arch/powerpc/sysdev/u3_iommu.c
*
* Copyright (C) 2004 Olof Johansson <olof@austin.ibm.com>, IBM Corporation
*
@@ -44,9 +44,10 @@
#include <asm/abs_addr.h>
#include <asm/cacheflush.h>
#include <asm/lmb.h>
-#include <asm/dart.h>
#include <asm/ppc-pci.h>
+#include "dart.h"
+
extern int iommu_force_on;
/* Physical base address and size of the DART table */
OpenPOWER on IntegriCloud