Module Name:    src
Committed By:   andvar
Date:           Sat Sep  9 18:49:21 UTC 2023

Modified Files:
        src/sys/arch/mips/include: mips3_pte.h

Log Message:
change #define to #error for MIPS3_4100i 8KB page size build protection.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 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/mips3_pte.h
diff -u src/sys/arch/mips/include/mips3_pte.h:1.31 src/sys/arch/mips/include/mips3_pte.h:1.32
--- src/sys/arch/mips/include/mips3_pte.h:1.31	Mon Aug 17 03:19:35 2020
+++ src/sys/arch/mips/include/mips3_pte.h	Sat Sep  9 18:49:21 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: mips3_pte.h,v 1.31 2020/08/17 03:19:35 mrg Exp $	*/
+/*	$NetBSD: mips3_pte.h,v 1.32 2023/09/09 18:49:21 andvar Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -77,7 +77,7 @@ unsigned int 	pg_g:1,			/* HW: ignore as
 #define	MIPS3_PG_ODDPG	(MIPS3_PG_SVPN ^ MIPS3_PG_HVPN)
 #elif PGSHIFT == 13
 #ifdef MIPS3_4100
-#define	8KB page size is not supported on the MIPS3_4100
+#error	8KB page size is not supported on the MIPS3_4100
 #endif
 #define	MIPS3_PG_SVPN	(~0UL << 13)	/* Software page no mask */
 #define	MIPS3_PG_HVPN	(~0UL << 13)	/* Hardware page no mask */

Reply via email to