regs->EREG(ip), swap_get_uarg(regs, 0), swap_get_uarg(regs, 1),
swap_get_uret_addr(regs));
#elif defined(CONFIG_ARM64)
- WARN(1, "not implemented"); /* FIXME: to implement */
+ printk(LOADER_PREFIX "%s[%d/%d] %s (%d) %s addr(%016lx), "
+ "x0(%016lx), x1(%016lx), x2(%016lx), x3(%016lx), "
+ "x4(%016lx), x5(%016lx), x6(%016lx), x7(%016lx), "
+ "sp(%016lx), lr(%016lx), pc(%016lx)\n",
+ current->comm, current->tgid, current->pid,
+ dentry != NULL ? (char *)(dentry->d_name.name) :
+ (char *)("NULL"),
+ (int)lpd_get_state(hd),
+ prefix, (unsigned long)ri->rp->up.addr,
+ (long)regs->regs[0], (long)regs->regs[1],
+ (long)regs->regs[2], (long)regs->regs[3],
+ (long)regs->regs[4], (long)regs->regs[5],
+ (long)regs->regs[6], (long)regs->regs[7],
+ (long)regs->sp, swap_get_uret_addr(regs), (long)regs->pc);
(void)dentry;
#else /* CONFIG_arch */
# error "this architecture is not supported"