code: 9ferno

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

View raw version
#include <lib9.h>

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

	lp = x;

	return lp[-1];
}