aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/getcallerpc-arm.c
blob: 9bb4a9559a4d4e4cf6dcd7d9fd3506f29ef96b03 (plain)
1
2
3
4
5
6
7
8
#include <lib9.h>

ulong
getcallerpc(void *x)
{
	return ((ulong*)x)[-2];
}