git: purgatorio

ref: 6c2f8fd5e4f0e0be44495a5526930fa3760cd87e
dir: /os/boot/pc/getcallerpc.c/

View raw version
#include "u.h"
#include "lib.h"

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