From owner-p4-projects@FreeBSD.ORG Fri Apr 4 17:54:06 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DF53337B404; Fri, 4 Apr 2003 17:54:05 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F81037B401 for ; Fri, 4 Apr 2003 17:54:05 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28FA343FBD for ; Fri, 4 Apr 2003 17:54:05 -0800 (PST) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h351s50U090890 for ; Fri, 4 Apr 2003 17:54:05 -0800 (PST) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h351s4lw090887 for perforce@freebsd.org; Fri, 4 Apr 2003 17:54:04 -0800 (PST) Date: Fri, 4 Apr 2003 17:54:04 -0800 (PST) Message-Id: <200304050154.h351s4lw090887@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 28111 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 01:54:07 -0000 http://perforce.freebsd.org/chv.cgi?CH=28111 Change 28111 by peter@peter_daintree on 2003/04/04 17:53:28 premature 64 bit update.. the calling conventions are wrong though. Affected files ... .. //depot/projects/hammer/sys/x86_64/include/mutex.h#2 edit Differences ... ==== //depot/projects/hammer/sys/x86_64/include/mutex.h#2 (text+ko) ==== @@ -56,20 +56,20 @@ * locks) in the near future, however. */ #define MTX_LOCK_SPIN(lck, flags) \ - pushl $0 ; \ - pushl $0 ; \ - pushl $flags ; \ - pushl $lck ; \ + pushq $0 ; \ + pushq $0 ; \ + pushq $flags ; \ + pushq $lck ; \ call _mtx_lock_spin_flags ; \ - addl $0x10, %esp ; \ + addl $0x20, %esp ; \ #define MTX_UNLOCK_SPIN(lck) \ - pushl $0 ; \ - pushl $0 ; \ - pushl $0 ; \ - pushl $lck ; \ + pushq $0 ; \ + pushq $0 ; \ + pushq $0 ; \ + pushq $lck ; \ call _mtx_unlock_spin_flags ; \ - addl $0x10, %esp ; \ + addl $0x20, %esp ; \ #endif /* !LOCORE */ #endif /* __MACHINE_MUTEX_H */