real a.out header for MIPS
[unix-history] / usr / src / sys / pmax / include / profile.h
/*
* Copyright (c) 1992 Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Ralph Campbell.
*
* %sccs.include.redist.c%
*
* @(#)profile.h 7.1 (Berkeley) %G%
*/
#define _MCOUNT_DECL static inline void _mcount
#define MCOUNT
#ifdef KERNEL
/*
* The following two macros do splhigh and splx respectively.
* They have to be defined this way because these are real
* functions on the PMAX, and we do not want to invoke mcount
* recursively.
*/
#define MCOUNT_ENTER
#define MCOUNT_EXIT
#endif /* KERNEL */