Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/x86 fix unused variable warnings



details:   https://anonhg.NetBSD.org/src/rev/56a29febce6c
branches:  trunk
changeset: 791195:56a29febce6c
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 08 02:23:52 2013 +0000

description:
fix unused variable warnings

diffstat:

 sys/arch/xen/x86/x86_xpmap.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1d02a791a8fb -r 56a29febce6c sys/arch/xen/x86/x86_xpmap.c
--- a/sys/arch/xen/x86/x86_xpmap.c      Fri Nov 08 01:41:45 2013 +0000
+++ b/sys/arch/xen/x86/x86_xpmap.c      Fri Nov 08 02:23:52 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: x86_xpmap.c,v 1.50 2013/11/06 06:23:15 mrg Exp $       */
+/*     $NetBSD: x86_xpmap.c,v 1.51 2013/11/08 02:23:52 christos Exp $  */
 
 /*
  * Copyright (c) 2006 Mathieu Ropert <mro%adviseo.fr@localhost>
@@ -69,7 +69,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_xpmap.c,v 1.50 2013/11/06 06:23:15 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_xpmap.c,v 1.51 2013/11/08 02:23:52 christos Exp $");
 
 #include "opt_xen.h"
 #include "opt_ddb.h"
@@ -1044,6 +1044,7 @@
                cpu_info_primary.ci_kpm_pdirpa = ((paddr_t) bt_cpu_pgd - KERNBASE);
        }
 #endif
+       __USE(pdtpe);
 
        /* Now we can safely reclaim space taken by old tables */
        



Home | Main Index | Thread Index | Old Index