Quellcode durchsuchen

[SPARC64]: iommu_common.h tidy ups...

Add missing multiple-include guards and update copyright.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller vor 17 Jahren
Ursprung
Commit
19814ea24e
1 geänderte Dateien mit 7 neuen und 3 gelöschten Zeilen
  1. 7 3
      arch/sparc64/kernel/iommu_common.h

+ 7 - 3
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 */