/* Fetch a robust-list pointer. Bit 0 signals PI futexes:  */
static int fetch_robust_entry(struct robust_list __user **entry, struct robust_list __user *__user *head, int *pi)
/* Fetch a robust-list pointer. Bit 0 signals PI futexes:  */
static int fetch_robust_entry(struct robust_list __user **entry, struct robust_list __user *__user *head, int *pi)
{
	unsigned long uentry;
	if (get_user(uentry, (unsigned long __user *)head))
		return -EFAULT;
	*entry = (void __user *)(uentry & ~1UL);
	*pi = uentry & 1;
	return 0;
}