Module Name: src Committed By: martin Date: Mon Aug 10 12:04:17 UTC 2009
Modified Files: src/sys/rump/librump/rumpkern: pmap_stub.c Log Message: Use __sparc_v9__ instead of __sparc64__ - this hack is due to arch dependend pmap peculiarities, and does not cover sparc64 code when compiled with -m32. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/rump/librump/rumpkern/pmap_stub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpkern/pmap_stub.c diff -u src/sys/rump/librump/rumpkern/pmap_stub.c:1.16 src/sys/rump/librump/rumpkern/pmap_stub.c:1.17 --- src/sys/rump/librump/rumpkern/pmap_stub.c:1.16 Sun Aug 9 09:22:16 2009 +++ src/sys/rump/librump/rumpkern/pmap_stub.c Mon Aug 10 12:04:17 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap_stub.c,v 1.16 2009/08/09 09:22:16 skrll Exp $ */ +/* $NetBSD: pmap_stub.c,v 1.17 2009/08/10 12:04:17 martin Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap_stub.c,v 1.16 2009/08/09 09:22:16 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap_stub.c,v 1.17 2009/08/10 12:04:17 martin Exp $"); #include <sys/param.h> @@ -45,7 +45,7 @@ * specified with something else than a .h and autogenerated into C. */ -#if defined(__sparc__) && !defined(__sparc64__) +#if defined(__sparc__) && !defined(__sparc_v9__) #undef pmap_is_modified #undef pmap_clear_modify #undef pmap_kenter_pa @@ -258,7 +258,7 @@ } #endif -#if defined(__sparc__) && !defined(__sparc64__) +#if defined(__sparc__) && !defined(__sparc_v9__) bool (*pmap_clear_modify_p)(struct vm_page *) = pmap_clear_modify; bool (*pmap_is_modified_p)(struct vm_page *) = pmap_is_modified; void (*pmap_kenter_pa_p)(vaddr_t, paddr_t, vm_prot_t) = pmap_kenter_pa;