code: 9ferno

ref: bbe261d58359dbbcfc2f0108323f3fae688a568c
dir: /os/boot/pc/getcallerpc.c/

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

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