Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/ibm4xx/openbios Do not silently #undef PPC_...
details: https://anonhg.NetBSD.org/src/rev/14c7bc02b5f0
branches: trunk
changeset: 973639:14c7bc02b5f0
user: rin <rin%NetBSD.org@localhost>
date: Mon Jul 06 10:48:54 2020 +0000
description:
Do not silently #undef PPC_4XX_NOCACHE, which results in terrible confusion.
Raise #error instead.
diffstat:
sys/arch/powerpc/ibm4xx/openbios/locore.S | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 8bdb0ec34ac0 -r 14c7bc02b5f0 sys/arch/powerpc/ibm4xx/openbios/locore.S
--- a/sys/arch/powerpc/ibm4xx/openbios/locore.S Mon Jul 06 10:44:38 2020 +0000
+++ b/sys/arch/powerpc/ibm4xx/openbios/locore.S Mon Jul 06 10:48:54 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.14 2020/07/06 10:44:38 rin Exp $ */
+/* $NetBSD: locore.S,v 1.15 2020/07/06 10:48:54 rin Exp $ */
/* $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $ */
/*
@@ -67,7 +67,9 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#undef PPC_4XX_NOCACHE
+#ifdef PPC_4XX_NOCACHE
+#error "Fix me"
+#endif
#include "assym.h"
#include "ksyms.h"
Home |
Main Index |
Thread Index |
Old Index