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/409e5d082623
branches:  trunk
changeset: 1011674:409e5d082623
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 fb23fe996656 -r 409e5d082623 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