1 #include "u.h" 2 #include "libc.h" 3 4 uintptr getcallerpc(void * a)5 getcallerpc(void *a) 6 { 7 return ((uintptr*)a)[-1]; 8 } 9