/* Change protections to allow amo operations on non-Shub 1.1 systems.  */
static enum xp_retval xpc_allow_amo_ops_sn2(struct amo *amos_page)
/* Change protections to allow amo operations on non-Shub 1.1 systems.  */
static enum xp_retval xpc_allow_amo_ops_sn2(struct amo *amos_page)
{
	enum xp_retval ret = xpSuccess;
	if (!enable_shub_wars_1_1())
		ret = xp_expand_memprotect(ia64_tpa((u64)amos_page), PAGE_SIZE);
	return ret;
}