X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/316670eb35587141e969394ae8537d66b9211e80..eee3565979933af707c711411001ba11fe406a3c:/bsd/net/flowhash.c?ds=sidebyside diff --git a/bsd/net/flowhash.c b/bsd/net/flowhash.c index e63462423..a45796023 100644 --- a/bsd/net/flowhash.c +++ b/bsd/net/flowhash.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Apple Inc. All rights reserved. + * Copyright (c) 2011-2012 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -68,9 +68,7 @@ static inline u_int64_t mh3_fmix64(u_int64_t); * Intel 64-bit: MurmurHash3_x64_128 * ARM, et al: JHash */ -#if defined(__i386__) -net_flowhash_fn_t *net_flowhash = net_flowhash_mh3_x86_32; -#elif defined(__x86_64__) +#if defined(__x86_64__) net_flowhash_fn_t *net_flowhash = net_flowhash_mh3_x64_128; #else /* !__i386__ && !__x86_64__ */ net_flowhash_fn_t *net_flowhash = net_flowhash_jhash;