Don't define ISC_PLATFORM_HAVEXADDQ if i386. It only works on the Pentium

or later - and I figured only ZFS would end up using it...
This commit is contained in:
ad 2008-06-23 09:19:34 +00:00
parent af8a8d9630
commit 61c0605342
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: platform.h,v 1.8 2008/06/22 13:23:50 christos Exp $ */
/* $NetBSD: platform.h,v 1.9 2008/06/23 09:19:34 ad Exp $ */
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
@ -244,7 +244,7 @@
* If the "xaddq" operation (64bit xadd) is available on this architecture,
* ISC_PLATFORM_HAVEXADDQ will be defined.
*/
#if defined(_LP64) || defined(__i386__)
#if defined(_LP64)
#define ISC_PLATFORM_HAVEXADDQ 1
#endif