From ca25fc3c08bb42f0f9233fc115631e01a5218926 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 23 Jul 2007 17:28:26 +0000 Subject: 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@ --- sys/ufs/ufs/ufs_dirhash.c | 4 ++-- 1 file 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) -- cgit v1.2.3