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/4857d823d17b
branches:  trunk
changeset: 935583:4857d823d17b
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 1c81aafdf394 -r 4857d823d17b 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