diff options
author | peter <peter@FreeBSD.org> | 2002-04-15 16:07:52 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-04-15 16:07:52 +0000 |
commit | d5c513e81bcc8e880cbb2be2c9e601da98893fd0 (patch) | |
tree | 5652c730e0533cee62f84569fe1506fd527eb8b8 /sys/alpha | |
parent | 06ce15bf1054fe3910d81a100219a36e88e13142 (diff) | |
download | FreeBSD-src-d5c513e81bcc8e880cbb2be2c9e601da98893fd0.zip FreeBSD-src-d5c513e81bcc8e880cbb2be2c9e601da98893fd0.tar.gz |
Fix an "oops!" that turned out to be mostly harmless (but gave a warning).
I did this right on the sparc64. Store the direct mapped addresses in
the correct variables.
Submitted by: jake
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/pmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index c11c250..05339c7 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -2738,10 +2738,10 @@ pmap_zero_page_area(vm_page_t m, int off, int size) * time. */ void -pmap_copy_page(vm_page_t src, vm_page_t dst) +pmap_copy_page(vm_page_t msrc, vm_page_t mdst) { - src = ALPHA_PHYS_TO_K0SEG(VM_PAGE_TO_PHYS(src)); - dst = ALPHA_PHYS_TO_K0SEG(VM_PAGE_TO_PHYS(dst)); + vm_offset_t src = ALPHA_PHYS_TO_K0SEG(VM_PAGE_TO_PHYS(msrc)); + vm_offset_t dst = ALPHA_PHYS_TO_K0SEG(VM_PAGE_TO_PHYS(mdst)); bcopy((caddr_t) src, (caddr_t) dst, PAGE_SIZE); } |