Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64/ia64 Pass pcb_fpcpu_slock correctly, since pcb...
details: https://anonhg.NetBSD.org/src/rev/76c7df8ef43f
branches: trunk
changeset: 749410:76c7df8ef43f
user: rmind <rmind%NetBSD.org@localhost>
date: Sun Nov 29 04:09:35 2009 +0000
description:
Pass pcb_fpcpu_slock correctly, since pcb0 is a pointer.
Fixes ia64 build (hi matt@).
diffstat:
sys/arch/ia64/ia64/machdep.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2d803be96ff8 -r 76c7df8ef43f sys/arch/ia64/ia64/machdep.c
--- a/sys/arch/ia64/ia64/machdep.c Sun Nov 29 03:31:33 2009 +0000
+++ b/sys/arch/ia64/ia64/machdep.c Sun Nov 29 04:09:35 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.20 2009/11/27 03:23:10 rmind Exp $ */
+/* $NetBSD: machdep.c,v 1.21 2009/11/29 04:09:35 rmind Exp $ */
/*-
* Copyright (c) 2003,2004 Marcel Moolenaar
@@ -694,7 +694,7 @@
pcb0->pcb_special.sp = (vaddr_t)lwp0.l_md.md_tf - 16;
pcb0->pcb_special.bspstore = v + 1;
- mutex_init(&pcb0.pcb_fpcpu_slock, MUTEX_DEFAULT, 0);
+ mutex_init(&pcb0->pcb_fpcpu_slock, MUTEX_DEFAULT, 0);
/*
* Setup global data for the bootstrap cpu.
Home |
Main Index |
Thread Index |
Old Index