add the no_instrument_function attribute to start_c so that we can reliably

profile the kernel
This commit is contained in:
aymeric 2006-03-05 21:59:15 +00:00
parent 18d008b37e
commit 454ab782f0
1 changed files with 3 additions and 2 deletions

View File

@ -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 <sys/cdefs.h>
__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 <sys/param.h>
#include <sys/systm.h>
@ -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)