Module Name: src Committed By: bouyer Date: Mon May 18 21:38:39 UTC 2009
Modified Files: src/sys/arch/vax/include [netbsd-5-0]: mtpr.h Log Message: Pull up following revision(s) (requested by mhitch in ticket #767): sys/arch/vax/include/mtpr.h: revisions 1.21, 1.22 Add "memory" clobber to mtpr for barrier. See also kern/38637. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.64.1 src/sys/arch/vax/include/mtpr.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/vax/include/mtpr.h diff -u src/sys/arch/vax/include/mtpr.h:1.20 src/sys/arch/vax/include/mtpr.h:1.20.64.1 --- src/sys/arch/vax/include/mtpr.h:1.20 Fri Feb 16 01:34:03 2007 +++ src/sys/arch/vax/include/mtpr.h Mon May 18 21:38:39 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: mtpr.h,v 1.20 2007/02/16 01:34:03 matt Exp $ */ +/* $NetBSD: mtpr.h,v 1.20.64.1 2009/05/18 21:38:39 bouyer Exp $ */ /* * Copyright (c) 1994 Ludd, University of Lule}, Sweden. @@ -172,7 +172,8 @@ __asm volatile ( "mtpr %0,%1" : /* No output */ - : "g" (val), "g" (reg)); + : "g" (val), "g" (reg) + : "memory"); } static inline register_t