diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-07-23 17:28:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-07-23 17:28:26 +0000 |
commit | ca25fc3c08bb42f0f9233fc115631e01a5218926 (patch) | |
tree | 20b36faf48c014f1979a23b53e3168ab5972cfdd | |
parent | f8218084082684574f82838e98038055f42d4b78 (diff) |
Since __sparc__ gets defined on sparc64 too, add a !defined (__sparc64__)
to the condition that protects CPU_ISSUN4OR4C. While we currently define
that macro on sparc64 too, we won't in the near future.
ok miod@
-rw-r--r-- | sys/ufs/ufs/ufs_dirhash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_dirhash.c b/sys/ufs/ufs/ufs_dirhash.c index 473fd29cbd9..14b2cbc59f2 100644 --- a/sys/ufs/ufs/ufs_dirhash.c +++ b/sys/ufs/ufs/ufs_dirhash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_dirhash.c,v 1.14 2006/06/21 09:50:52 mickey Exp $ */ +/* $OpenBSD: ufs_dirhash.c,v 1.15 2007/07/23 17:28:25 kettenis Exp $ */ /* * Copyright (c) 2001, 2002 Ian Dowse. All rights reserved. * @@ -1062,7 +1062,7 @@ ufsdirhash_init() "dirhash", &pool_allocator_nointr); pool_sethiwat(&ufsdirhash_pool, 512); TAILQ_INIT(&ufsdirhash_list); -#if defined (__sparc__) +#if defined (__sparc__) && !defined (__sparc64__) if (!CPU_ISSUN4OR4C) #elif defined (__vax__) if (0) |