Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 00:54:06 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234592 - head/libexec/rtld-elf/powerpc
Message-ID:  <201204230054.q3N0s6Ep067700@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Mon Apr 23 00:54:06 2012
New Revision: 234592
URL: http://svn.freebsd.org/changeset/base/234592

Log:
  Fix a missed file in r234580: replace the now-obsolete powerpc_mb() with
  regular mb().

Modified:
  head/libexec/rtld-elf/powerpc/reloc.c

Modified: head/libexec/rtld-elf/powerpc/reloc.c
==============================================================================
--- head/libexec/rtld-elf/powerpc/reloc.c	Sun Apr 22 22:39:24 2012	(r234591)
+++ head/libexec/rtld-elf/powerpc/reloc.c	Mon Apr 23 00:54:06 2012	(r234592)
@@ -38,7 +38,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <machine/cpu.h>
-#include <machine/cpufunc.h>
+#include <machine/atomic.h>
 #include <machine/md_var.h>
 
 #include "debug.h"
@@ -499,7 +499,7 @@ reloc_jmpslot(Elf_Addr *wherep, Elf_Addr
 
 		jmptab = obj->pltgot + JMPTAB_BASE(N);
 		jmptab[reloff] = target;
-		powerpc_mb(); /* Order jmptab update before next changes */
+		mb(); /* Order jmptab update before next changes */
 
 		if (reloff < PLT_EXTENDED_BEGIN) {
 			/* for extended PLT entries, we keep the old code */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204230054.q3N0s6Ep067700>