commit | 387df00577fa94f49da58bc74de4f9c4afd2cb41 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Jul 13 08:05:54 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jul 13 16:06:56 2008 -0400 |
tree | a01339de91344db7eaefe7c469f716567b0f039d | |
parent | 1911bf113ef0f9c71090f26279e4a4082fae0abc [diff] |
Only use __builtin_expect if __GNUC__ > 3 Gcc only supports __builtin_expect for gcc versions 2.96 and up. Since it's tricky to check for gcc 2.95 vs 2.96 (and either are only used on really ancient systems anyway), we only use this optimization on 3.x and newer versions of gcc. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>