Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/cherry-xenmp]: src/sys/arch make #define PG_k visible on all xen archs
details: https://anonhg.NetBSD.org/src/rev/abf3ce1815c0
branches: cherry-xenmp
changeset: 765639:abf3ce1815c0
user: cherry <cherry%NetBSD.org@localhost>
date: Fri Sep 09 11:38:20 2011 +0000
description:
make #define PG_k visible on all xen archs
diffstat:
sys/arch/x86/x86/pmap.c | 11 ++---------
sys/arch/xen/include/xenpmap.h | 9 ++++++++-
2 files changed, 10 insertions(+), 10 deletions(-)
diffs (55 lines):
diff -r 506ca0c5cd71 -r abf3ce1815c0 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Fri Sep 09 08:14:39 2011 +0000
+++ b/sys/arch/x86/x86/pmap.c Fri Sep 09 11:38:20 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.121.2.6 2011/08/20 19:22:47 cherry Exp $ */
+/* $NetBSD: pmap.c,v 1.121.2.7 2011/09/09 11:38:20 cherry Exp $ */
/*-
* Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.121.2.6 2011/08/20 19:22:47 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.121.2.7 2011/09/09 11:38:20 cherry Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -211,13 +211,6 @@
#include <xen/hypervisor.h>
#endif
-/* flag to be used for kernel mappings: PG_u on Xen/amd64, 0 otherwise */
-#if defined(XEN) && defined(__x86_64__)
-#define PG_k PG_u
-#else
-#define PG_k 0
-#endif
-
/*
* general info:
*
diff -r 506ca0c5cd71 -r abf3ce1815c0 sys/arch/xen/include/xenpmap.h
--- a/sys/arch/xen/include/xenpmap.h Fri Sep 09 08:14:39 2011 +0000
+++ b/sys/arch/xen/include/xenpmap.h Fri Sep 09 11:38:20 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xenpmap.h,v 1.27.2.3 2011/08/17 09:40:39 cherry Exp $ */
+/* $NetBSD: xenpmap.h,v 1.27.2.4 2011/09/09 11:38:20 cherry Exp $ */
/*
*
@@ -34,6 +34,13 @@
#include "opt_xen.h"
#endif
+/* flag to be used for kernel mappings: PG_u on Xen/amd64, 0 otherwise */
+#if defined(XEN) && defined(__x86_64__)
+#define PG_k PG_u
+#else
+#define PG_k 0
+#endif
+
#define INVALID_P2M_ENTRY (~0UL)
#ifdef MULTIPROCESSOR
Home |
Main Index |
Thread Index |
Old Index