Module Name: src Committed By: dyoung Date: Sun Aug 28 00:51:22 UTC 2011
Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Use __strict_weak_alias(). To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/arch/x86/x86/pmap.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/arch/x86/x86/pmap.c diff -u src/sys/arch/x86/x86/pmap.c:1.128 src/sys/arch/x86/x86/pmap.c:1.129 --- src/sys/arch/x86/x86/pmap.c:1.128 Sun Aug 14 02:31:08 2011 +++ src/sys/arch/x86/x86/pmap.c Sun Aug 28 00:51:21 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.128 2011/08/14 02:31:08 rmind Exp $ */ +/* $NetBSD: pmap.c,v 1.129 2011/08/28 00:51:21 dyoung 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.128 2011/08/14 02:31:08 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.129 2011/08/28 00:51:21 dyoung Exp $"); #include "opt_user_ldt.h" #include "opt_lockdebug.h" @@ -1069,7 +1069,7 @@ } } -__weak_alias(pmap_kenter_ma, pmap_kenter_pa); +__strict_weak_alias(pmap_kenter_ma, pmap_kenter_pa); #if defined(__x86_64__) /* @@ -2882,7 +2882,7 @@ return (0); } -__weak_alias(pmap_extract_ma, pmap_extract); +__strict_weak_alias(pmap_extract_ma, pmap_extract); #ifdef XEN @@ -3780,7 +3780,7 @@ * defined as macro in pmap.h */ -__weak_alias(pmap_enter, pmap_enter_default); +__strict_weak_alias(pmap_enter, pmap_enter_default); int pmap_enter_default(pmap_t pmap, vaddr_t va, paddr_t pa, vm_prot_t prot,