Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Use __strict_weak_alias().
details: https://anonhg.NetBSD.org/src/rev/903686da022d
branches: trunk
changeset: 768852:903686da022d
user: dyoung <dyoung%NetBSD.org@localhost>
date: Sun Aug 28 00:51:21 2011 +0000
description:
Use __strict_weak_alias().
diffstat:
sys/arch/x86/x86/pmap.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 6dc6fd37fcb8 -r 903686da022d sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Sun Aug 28 00:40:10 2011 +0000
+++ b/sys/arch/x86/x86/pmap.c Sun Aug 28 00:51:21 2011 +0000
@@ -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,
Home |
Main Index |
Thread Index |
Old Index