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

ulong
getcallerpc(void *x)
{
	ulong *lp;

	lp = x;

	return lp[-1];
}