Revision 9004627f target-cris/mmu.c

b/target-cris/mmu.c
87 87
		pid = EXTRACT_FIELD(hi, 0, 7);
88 88

  
89 89
		if (vpn == vpage
90
		    && pid == env->pregs[SR_PID]) {
90
		    && pid == env->pregs[PR_PID]) {
91 91
			match = 1;
92 92
			break;
93 93
		}
......
104 104
	printf ("%s match=%d vaddr=%x vpage=%x vpn=%x pfn=%x pid=%x %x\n",
105 105
		__func__, match,
106 106
		vaddr, vpage,
107
		vpn, pfn, pid, env->pregs[SR_PID]);
107
		vpn, pfn, pid, env->pregs[PR_PID]);
108 108
	res->pfn = pfn;
109 109
	return !match;
110 110
}

Also available in: Unified diff