Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax #ifdef a variable like its only use
details: https://anonhg.NetBSD.org/src/rev/ad6e7f0f4ad1
branches: trunk
changeset: 329423:ad6e7f0f4ad1
user: martin <martin%NetBSD.org@localhost>
date: Fri May 23 19:05:35 2014 +0000
description:
#ifdef a variable like its only use
diffstat:
sys/arch/vax/vax/locore.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 6c26fbe99bd4 -r ad6e7f0f4ad1 sys/arch/vax/vax/locore.c
--- a/sys/arch/vax/vax/locore.c Fri May 23 18:51:31 2014 +0000
+++ b/sys/arch/vax/vax/locore.c Fri May 23 19:05:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.c,v 1.81 2014/03/24 20:06:33 christos Exp $ */
+/* $NetBSD: locore.c,v 1.82 2014/05/23 19:05:35 martin Exp $ */
/*
* Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -32,7 +32,7 @@
/* All bugs are subject to removal without further notice */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: locore.c,v 1.81 2014/03/24 20:06:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.c,v 1.82 2014/05/23 19:05:35 martin Exp $");
#include "opt_compat_netbsd.h"
@@ -94,7 +94,10 @@
extern uintptr_t scratch;
struct pte *pt;
vaddr_t uv;
- const char *mv, *md;
+ const char *mv;
+#if VAX410 || VAXANY
+ const char *md;
+#endif
mtpr(AST_NO, PR_ASTLVL); /* Turn off ASTs */
Home |
Main Index |
Thread Index |
Old Index