Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/mac68k Don't reference a zs-specific variabl...



details:   https://anonhg.NetBSD.org/src/rev/0bcb9dd478c4
branches:  trunk
changeset: 500118:0bcb9dd478c4
user:      scottr <scottr%NetBSD.org@localhost>
date:      Tue Dec 05 21:38:38 2000 +0000

description:
Don't reference a zs-specific variable unless NZSC is not zero.
Fixes PR 11566.

diffstat:

 sys/arch/mac68k/mac68k/machdep.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 1ef3d6ab802e -r 0bcb9dd478c4 sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c  Tue Dec 05 21:25:35 2000 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c  Tue Dec 05 21:38:38 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.258 2000/09/13 15:00:19 thorpej Exp $    */
+/*     $NetBSD: machdep.c,v 1.259 2000/12/05 21:38:38 scottr Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -2249,7 +2249,9 @@
 mac68k_set_io_offsets(base)
        vaddr_t base;
 {
+#if NZSC > 0
        extern volatile u_char *sccA;
+#endif
 
        switch (current_mac_model->class) {
        case MACH_CLASSQ:



Home | Main Index | Thread Index | Old Index