Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/powerpc64/atomic define _NOREGNAMES bef...



details:   https://anonhg.NetBSD.org/src/rev/fc61e1c8cb54
branches:  trunk
changeset: 753269:fc61e1c8cb54
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Mar 22 02:22:32 2010 +0000

description:
define _NOREGNAMES before including <machine/asm.h>, like powerpc does.

from dennis.c.ferguson%gmail.com@localhost in PR#43022.

diffstat:

 common/lib/libc/arch/powerpc64/atomic/atomic_op_asm.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a47af409cbf0 -r fc61e1c8cb54 common/lib/libc/arch/powerpc64/atomic/atomic_op_asm.h
--- a/common/lib/libc/arch/powerpc64/atomic/atomic_op_asm.h     Mon Mar 22 02:17:23 2010 +0000
+++ b/common/lib/libc/arch/powerpc64/atomic/atomic_op_asm.h     Mon Mar 22 02:22:32 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_op_asm.h,v 1.3 2008/04/28 20:22:52 martin Exp $ */
+/*     $NetBSD: atomic_op_asm.h,v 1.4 2010/03/22 02:22:32 mrg Exp $    */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -32,6 +32,7 @@
 #ifndef _ATOMIC_OP_ASM_H_
 #define        _ATOMIC_OP_ASM_H_
 
+#define _NOREGNAMES
 #include <machine/asm.h>
 
 #if defined(_KERNEL)



Home | Main Index | Thread Index | Old Index