Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc Make sure stub routines are not profiled.
details: https://anonhg.NetBSD.org/src/rev/f5fc8513dbc8
branches: trunk
changeset: 762288:f5fc8513dbc8
user: matt <matt%NetBSD.org@localhost>
date: Fri Feb 18 21:08:18 2011 +0000
description:
Make sure stub routines are not profiled.
diffstat:
sys/arch/powerpc/booke/booke_stubs.c | 4 ++--
sys/arch/powerpc/oea/pmap_kernel.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (48 lines):
diff -r da9787f2f992 -r f5fc8513dbc8 sys/arch/powerpc/booke/booke_stubs.c
--- a/sys/arch/powerpc/booke/booke_stubs.c Fri Feb 18 21:06:12 2011 +0000
+++ b/sys/arch/powerpc/booke/booke_stubs.c Fri Feb 18 21:08:18 2011 +0000
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: booke_stubs.c,v 1.3 2011/02/12 18:23:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: booke_stubs.c,v 1.4 2011/02/18 21:08:18 matt Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -47,7 +47,7 @@
#include <powerpc/instr.h>
#include <powerpc/booke/cpuvar.h>
-#define __stub __section(".stub")
+#define __stub __section(".stub") __noprofile
void tlb_set_asid(uint32_t) __stub;
diff -r da9787f2f992 -r f5fc8513dbc8 sys/arch/powerpc/oea/pmap_kernel.c
--- a/sys/arch/powerpc/oea/pmap_kernel.c Fri Feb 18 21:06:12 2011 +0000
+++ b/sys/arch/powerpc/oea/pmap_kernel.c Fri Feb 18 21:08:18 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_kernel.c,v 1.4 2011/02/18 16:40:50 matt Exp $ */
+/* $NetBSD: pmap_kernel.c,v 1.5 2011/02/18 21:08:18 matt Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: pmap_kernel.c,v 1.4 2011/02/18 16:40:50 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: pmap_kernel.c,v 1.5 2011/02/18 21:08:18 matt Exp $");
#include "opt_ddb.h"
#include "opt_pmap.h"
@@ -69,7 +69,7 @@
powerpc_fixup_stubs(_ftext, _etext, __stub_pmap_start, __stub_pmap_end);
}
-#define __stub __section(".stub.pmap")
+#define __stub __section(".stub.pmap") __noprofile
int pmap_pte_spill(struct pmap *, vaddr_t, bool) __stub;
void pmap_real_memory(paddr_t *, psize_t *) __stub;
Home |
Main Index |
Thread Index |
Old Index