/* Check whether the instruction at regs->pc is a store using an update addressing form which will update r1.  */
static int store_updates_sp(struct pt_regs *regs)
/* Check whether the instruction at regs->pc is a store using an update addressing form which will update r1.  */
static int store_updates_sp(struct pt_regs *regs)
{
	unsigned int inst;
	if (get_user(inst, (unsigned int *)regs->pc))
		return 0;
	if (((inst >> 21) & 0x1f) != 1)
		return 0;
	if ((inst & 0xd0000000) == 0xd0000000)
		return 1;
	return 0;
}