Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/oea Update conditions on mfsrin definition ...
details: https://anonhg.NetBSD.org/src/rev/f081098e06d3
branches: trunk
changeset: 331416:f081098e06d3
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Aug 10 17:49:04 2014 +0000
description:
Update conditions on mfsrin definition to match use.
diffstat:
sys/arch/powerpc/oea/pmap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r de2ad1b9ac71 -r f081098e06d3 sys/arch/powerpc/oea/pmap.c
--- a/sys/arch/powerpc/oea/pmap.c Sun Aug 10 17:46:54 2014 +0000
+++ b/sys/arch/powerpc/oea/pmap.c Sun Aug 10 17:49:04 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.91 2014/03/03 15:36:36 macallan Exp $ */
+/* $NetBSD: pmap.c,v 1.92 2014/08/10 17:49:04 joerg Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.91 2014/03/03 15:36:36 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.92 2014/08/10 17:49:04 joerg Exp $");
#define PMAP_NOOPNAMES
@@ -504,7 +504,7 @@
#define MFSRIN(va) mfsrin(va)
#define MFTB() mfrtcltbl()
-#if defined (PMAP_OEA) || defined (PMAP_OEA64_BRIDGE)
+#if defined(DDB) && !defined(PMAP_OEA64)
static inline register_t
mfsrin(vaddr_t va)
{
@@ -512,7 +512,7 @@
__asm volatile ("mfsrin %0,%1" : "=r"(sr) : "r"(va));
return sr;
}
-#endif /* PMAP_OEA*/
+#endif /* DDB && !PMAP_OEA64 */
#if defined (PMAP_OEA64_BRIDGE)
extern void mfmsr64 (register64_t *result);
Home |
Main Index |
Thread Index |
Old Index