From 454ab782f067470413b01cbe505f7865fef0a886 Mon Sep 17 00:00:00 2001 From: aymeric Date: Sun, 5 Mar 2006 21:59:15 +0000 Subject: [PATCH] add the no_instrument_function attribute to start_c so that we can reliably profile the kernel --- sys/arch/amiga/amiga/amiga_init.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/amiga/amiga/amiga_init.c b/sys/arch/amiga/amiga/amiga_init.c index 57dd6ca223db..142d555f36ea 100644 --- a/sys/arch/amiga/amiga/amiga_init.c +++ b/sys/arch/amiga/amiga/amiga_init.c @@ -1,4 +1,4 @@ -/* $NetBSD: amiga_init.c,v 1.91 2005/12/24 22:45:34 perry Exp $ */ +/* $NetBSD: amiga_init.c,v 1.92 2006/03/05 21:59:15 aymeric Exp $ */ /* * Copyright (c) 1994 Michael L. Hitch @@ -36,7 +36,7 @@ #include "opt_devreload.h" #include -__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.91 2005/12/24 22:45:34 perry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.92 2006/03/05 21:59:15 aymeric Exp $"); #include #include @@ -197,6 +197,7 @@ alloc_z2mem(amount) int kernel_copyback = 1; +__attribute__ ((no_instrument_function)) void start_c(id, fphystart, fphysize, cphysize, esym_addr, flags, inh_sync, boot_part, loadbase)