Module Name: src Committed By: rin Date: Thu Apr 16 22:11:12 UTC 2020
Modified Files: src/sys/arch/powerpc/include: types.h Log Message: Discard __HAVE_UNLOCKED_PMAP for 4xx; 4xx is uniprocessor architecture, and everything gets more than 10 times slower by __HAVE_UNLOCKED_PMAP. Note that we support three supervisor-level architectures for powerpc: oea, booke, and 4xx. We have three different implementations of pmap as a result. Whereas oea and booke support multiprocessor, 4xx does not. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/powerpc/include/types.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/powerpc/include/types.h diff -u src/sys/arch/powerpc/include/types.h:1.61 src/sys/arch/powerpc/include/types.h:1.62 --- src/sys/arch/powerpc/include/types.h:1.61 Sun Mar 22 17:33:58 2020 +++ src/sys/arch/powerpc/include/types.h Thu Apr 16 22:11:12 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.61 2020/03/22 17:33:58 ad Exp $ */ +/* $NetBSD: types.h,v 1.62 2020/04/16 22:11:12 rin Exp $ */ /*- * Copyright (C) 1995 Wolfgang Solfrank. @@ -34,6 +34,10 @@ #ifndef _POWERPC_TYPES_H_ #define _POWERPC_TYPES_H_ +#ifdef _KERNEL_OPT +#include "opt_ppcarch.h" +#endif + #include <sys/cdefs.h> #include <sys/featuretest.h> #include <powerpc/int_types.h> @@ -103,7 +107,9 @@ typedef __uint32_t tlb_asid_t; /* for b #define __HAVE_RAS #endif +#ifndef PPC_IBM4XX /* XXX temporary */ #define __HAVE_UNLOCKED_PMAP +#endif #endif /* _POWERPC_TYPES_H_ */