Module Name:    src
Committed By:   matt
Date:           Tue Dec 22 00:01:52 UTC 2009

Modified Files:
        src/sys/arch/mips/include [matt-nb5-mips64]: mips1_pte.h mips3_pte.h

Log Message:
Add multiple inclusion protection.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.17.38.1 src/sys/arch/mips/include/mips1_pte.h
cvs rdiff -u -r1.23.38.2 -r1.23.38.3 src/sys/arch/mips/include/mips3_pte.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/include/mips1_pte.h
diff -u src/sys/arch/mips/include/mips1_pte.h:1.17 src/sys/arch/mips/include/mips1_pte.h:1.17.38.1
--- src/sys/arch/mips/include/mips1_pte.h:1.17	Wed Oct 17 19:55:37 2007
+++ src/sys/arch/mips/include/mips1_pte.h	Tue Dec 22 00:01:52 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: mips1_pte.h,v 1.17 2007/10/17 19:55:37 garbled Exp $	*/
+/*	$NetBSD: mips1_pte.h,v 1.17.38.1 2009/12/22 00:01:52 matt Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -76,6 +76,8 @@
  *	@(#)pte.h	8.1 (Berkeley) 6/10/93
  */
 
+#ifndef _MIPS_MIPS1_PTE_H_
+#define _MIPS_MIPS1_PTE_H_
 /*
  * R2000 hardware page table entry
  */
@@ -132,3 +134,5 @@
 
 #define	MIPS1_PTE_TO_PADDR(pte) ((unsigned)(pte) & MIPS1_PG_FRAME)
 #define MIPS1_PAGE_IS_RDONLY(pte,va) ((int)(pte) & MIPS1_PG_RO)
+
+#endif /* !_MIPS_MIPS1_PTE_H_ */

Index: src/sys/arch/mips/include/mips3_pte.h
diff -u src/sys/arch/mips/include/mips3_pte.h:1.23.38.2 src/sys/arch/mips/include/mips3_pte.h:1.23.38.3
--- src/sys/arch/mips/include/mips3_pte.h:1.23.38.2	Tue Sep  8 07:54:53 2009
+++ src/sys/arch/mips/include/mips3_pte.h	Tue Dec 22 00:01:52 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: mips3_pte.h,v 1.23.38.2 2009/09/08 07:54:53 matt Exp $	*/
+/*	$NetBSD: mips3_pte.h,v 1.23.38.3 2009/12/22 00:01:52 matt Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -76,6 +76,8 @@
  *	from: @(#)pte.h	8.1 (Berkeley) 6/10/93
  */
 
+#ifndef _MIPS_MIPS3_PTE_H_
+#define _MIPS_MIPS3_PTE_H_
 /*
  * R4000 hardware page table entry
  */
@@ -213,3 +215,4 @@
 #define	MIPS4100_PG_SIZE_TO_MASK(pg_size)		\
     ((((pg_size) * 2) - 1) & ~0x000007ff)
 
+#endif /* !_MIPS_MIPS3_PTE_H_ */

Reply via email to