# error "_IA64_"\r
#endif\r
#ifdef _AMD64_\r
- ucp->uc_mcontext.Rip = (unsigned long) func;\r
- ucp->uc_mcontext.Rsp = (unsigned long) sp - 4;\r
+ ucp->uc_mcontext.Rip = (unsigned long long) func;\r
+ ucp->uc_mcontext.Rsp = (unsigned long long) sp - 8;\r
#endif\r
\r
/* Save/Restore the full machine context */ \r