Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/profile.h
Show All 25 Lines | |||||
* any improvements or extensions that they make and grant Carnegie the | * any improvements or extensions that they make and grant Carnegie the | ||||
* rights to redistribute these changes. | * rights to redistribute these changes. | ||||
* | * | ||||
* from: NetBSD: profile.h,v 1.9 1997/04/06 08:47:37 cgd Exp | * from: NetBSD: profile.h,v 1.9 1997/04/06 08:47:37 cgd Exp | ||||
* from: FreeBSD: src/sys/alpha/include/profile.h,v 1.4 1999/12/29 | * from: FreeBSD: src/sys/alpha/include/profile.h,v 1.4 1999/12/29 | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifdef __arm__ | |||||
#include <arm/profile.h> | |||||
#else /* !__arm__ */ | |||||
#ifndef _MACHINE_PROFILE_H_ | #ifndef _MACHINE_PROFILE_H_ | ||||
#define _MACHINE_PROFILE_H_ | #define _MACHINE_PROFILE_H_ | ||||
#define FUNCTION_ALIGNMENT 32 | #define FUNCTION_ALIGNMENT 32 | ||||
typedef u_long fptrdiff_t; | typedef u_long fptrdiff_t; | ||||
#ifndef _KERNEL | #ifndef _KERNEL | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
_mcount(frompc, __builtin_return_address(0)); | _mcount(frompc, __builtin_return_address(0)); | ||||
} | } | ||||
#endif | #endif | ||||
#endif /* !_KERNEL */ | #endif /* !_KERNEL */ | ||||
#endif /* !_MACHINE_PROFILE_H_ */ | #endif /* !_MACHINE_PROFILE_H_ */ | ||||
#endif /* !__arm__ */ |