View | Details | Raw Unified | Return to bug 29194
Collapse All | Expand All

(-)sys/alpha/alpha/vm_machdep.c (-1 / +1 lines)
Lines 344-350 Link Here
344
		 * Do the vm_fault if needed; do the copy-on-write thing
344
		 * Do the vm_fault if needed; do the copy-on-write thing
345
		 * when reading stuff off device into memory.
345
		 * when reading stuff off device into memory.
346
		 */
346
		 */
347
		vm_fault_quick(addr,
347
		vm_fault_quick((addr >= bp->b_data) ? addr : bp->b_data,
348
			(bp->b_iocmd == BIO_READ)?(VM_PROT_READ|VM_PROT_WRITE):VM_PROT_READ);
348
			(bp->b_iocmd == BIO_READ)?(VM_PROT_READ|VM_PROT_WRITE):VM_PROT_READ);
349
		pa = trunc_page(pmap_kextract((vm_offset_t) addr));
349
		pa = trunc_page(pmap_kextract((vm_offset_t) addr));
350
		if (pa == 0)
350
		if (pa == 0)
(-)sys/i386/i386/vm_machdep.c (-1 / +1 lines)
Lines 389-395 Link Here
389
		 * Do the vm_fault if needed; do the copy-on-write thing
389
		 * Do the vm_fault if needed; do the copy-on-write thing
390
		 * when reading stuff off device into memory.
390
		 * when reading stuff off device into memory.
391
		 */
391
		 */
392
		vm_fault_quick(addr,
392
		vm_fault_quick((addr >= bp->b_data) ? addr : bp->b_data,
393
			(bp->b_iocmd == BIO_READ)?(VM_PROT_READ|VM_PROT_WRITE):VM_PROT_READ);
393
			(bp->b_iocmd == BIO_READ)?(VM_PROT_READ|VM_PROT_WRITE):VM_PROT_READ);
394
		pa = trunc_page(pmap_kextract((vm_offset_t) addr));
394
		pa = trunc_page(pmap_kextract((vm_offset_t) addr));
395
		if (pa == 0)
395
		if (pa == 0)
(-)sys/ia64/ia64/vm_machdep.c (-1 / +1 lines)
Lines 380-386 Link Here
380
		 * Do the vm_fault if needed; do the copy-on-write thing
380
		 * Do the vm_fault if needed; do the copy-on-write thing
381
		 * when reading stuff off device into memory.
381
		 * when reading stuff off device into memory.
382
		 */
382
		 */
383
		vm_fault_quick(addr,
383
		vm_fault_quick((addr >= bp->b_data) ? addr : bp->b_data,
384
			(bp->b_iocmd == BIO_READ)?(VM_PROT_READ|VM_PROT_WRITE):VM_PROT_READ);
384
			(bp->b_iocmd == BIO_READ)?(VM_PROT_READ|VM_PROT_WRITE):VM_PROT_READ);
385
		pa = trunc_page(pmap_kextract((vm_offset_t) addr));
385
		pa = trunc_page(pmap_kextract((vm_offset_t) addr));
386
		if (pa == 0)
386
		if (pa == 0)
(-)sys/powerpc/powerpc/vm_machdep.c (-1 / +1 lines)
Lines 252-258 Link Here
252
		 * Do the vm_fault if needed; do the copy-on-write thing
252
		 * Do the vm_fault if needed; do the copy-on-write thing
253
		 * when reading stuff off device into memory.
253
		 * when reading stuff off device into memory.
254
		 */
254
		 */
255
		vm_fault_quick(addr,
255
		vm_fault_quick((addr >= bp->b_data) ? addr : bp->b_data,
256
			(bp->b_iocmd == BIO_READ)?(VM_PROT_READ|VM_PROT_WRITE):VM_PROT_READ);
256
			(bp->b_iocmd == BIO_READ)?(VM_PROT_READ|VM_PROT_WRITE):VM_PROT_READ);
257
		pa = trunc_page(pmap_kextract((vm_offset_t) addr));
257
		pa = trunc_page(pmap_kextract((vm_offset_t) addr));
258
		if (pa == 0)
258
		if (pa == 0)

Return to bug 29194