svn commit: r234592 - head/libexec/rtld-elf/powerpc
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Mon Apr 23 00:54:06 UTC 2012
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 */
More information about the svn-src-head
mailing list