define _NOREGNAMES before including <machine/asm.h>, like powerpc does.
from dennis.c.ferguson@gmail.com in PR#43022.
This commit is contained in:
parent
3bdcb2e4b5
commit
26c2cb31ec
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue