code: 9ferno

ref: a78a125090be64f1f52686c4a2f24f2ee653cb82
dir: /lib9/getcallerpc-Linux-power.c/

View raw version
#include <lib9.h>

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

	lp = x;

	return lp[-1];
}