aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@huronp11.davemloft.net>2008-02-08 02:09:40 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-09 03:15:04 -0800
commit19814ea24e9d80583504e336340ab4590841b0b1 (patch)
treedfc43632024c6cebca0a2e5474934cfc2186159d /arch/sparc64
parent0507468a8055fc9a51b40a59e6b4eb6081f23aad (diff)
[SPARC64]: iommu_common.h tidy ups...
Add missing multiple-include guards and update copyright. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r--arch/sparc64/kernel/iommu_common.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/iommu_common.h b/arch/sparc64/kernel/iommu_common.h
index 41992371c93..8390f043fff 100644
--- a/arch/sparc64/kernel/iommu_common.h
+++ b/arch/sparc64/kernel/iommu_common.h
@@ -1,9 +1,11 @@
-/* $Id: iommu_common.h,v 1.5 2001/12/11 09:41:01 davem Exp $
- * iommu_common.h: UltraSparc SBUS/PCI common iommu declarations.
+/* iommu_common.h: UltraSparc SBUS/PCI common iommu declarations.
*
- * Copyright (C) 1999 David S. Miller (davem@redhat.com)
+ * Copyright (C) 1999, 2008 David S. Miller (davem@davemloft.net)
*/
+#ifndef _IOMMU_COMMON_H
+#define _IOMMU_COMMON_H
+
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/sched.h>
@@ -55,3 +57,5 @@ static inline unsigned long calc_npages(struct scatterlist *sglist, int nelems)
return npages;
}
+
+#endif /* _IOMMU_COMMON_H */