/* Works like a stack, last one to allocate must be first one to free.  */
int sh64_put_wired_dtlb_entry(unsigned long long entry)
/* Works like a stack, last one to allocate must be first one to free.  */
int sh64_put_wired_dtlb_entry(unsigned long long entry)
{
	__flush_tlb_slot(entry);
	if (entry <= DTLB_FIXED)
		return -EINVAL;
	if (entry < (cpu_data->dtlb.first - cpu_data->dtlb.step))
		return -EINVAL;
	cpu_data->dtlb.first	-= cpu_data->dtlb.step;
	cpu_data->dtlb.next	= entry;
	return 0;
}