Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 parenthesize properly.
details: https://anonhg.NetBSD.org/src/rev/8327816ae3ab
branches: trunk
changeset: 538567:8327816ae3ab
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 22 20:51:43 2002 +0000
description:
parenthesize properly.
diffstat:
sys/arch/i386/i386/vm_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 04d35638923a -r 8327816ae3ab sys/arch/i386/i386/vm_machdep.c
--- a/sys/arch/i386/i386/vm_machdep.c Tue Oct 22 20:20:35 2002 +0000
+++ b/sys/arch/i386/i386/vm_machdep.c Tue Oct 22 20:51:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.105 2002/10/11 17:31:11 fvdl Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.106 2002/10/22 20:51:43 christos Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.105 2002/10/11 17:31:11 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.106 2002/10/22 20:51:43 christos Exp $");
#include "opt_user_ldt.h"
#include "opt_largepages.h"
@@ -381,7 +381,7 @@
if ((bp->b_flags & B_PHYS) == 0)
panic("vmapbuf");
- faddr = trunc_page((vaddr_t)bp->b_saveaddr = bp->b_data);
+ faddr = trunc_page((vaddr_t)(bp->b_saveaddr = bp->b_data));
off = (vaddr_t)bp->b_data - faddr;
len = round_page(off + len);
taddr= uvm_km_valloc_wait(phys_map, len);
Home |
Main Index |
Thread Index |
Old Index