diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-05-27 12:02:00 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-05-27 12:02:00 -0700 |
commit | 1ba4f22c426ba04b00fd717318d50620c621a0e1 (patch) | |
tree | 6d6b217c662caaf604134461e021ee6329c7d49d /fs/cifs | |
parent | 20413f27163fb1b8b806c0c219dc95eae67c633a (diff) | |
download | op-kernel-dev-1ba4f22c426ba04b00fd717318d50620c621a0e1.zip op-kernel-dev-1ba4f22c426ba04b00fd717318d50620c621a0e1.tar.gz |
x86, cpufeature: Unbreak compile with gcc 3.x
gcc 3 is too braindamaged to be able to compile static_cpu_has() --
apparently it can't tell that a constant passed to an inline function
is still a constant -- so if we're using gcc 3, just use the dynamic
test. This is bad for performance, but if you care about performance,
don't use an ancient, known-to-optimize-poorly compiler.
Reported-and-tested-by: Eric Dumazet <eric.dumazet@gmail.com>
LKML-Reference: <4BF2FF82.7090005@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'fs/cifs')
0 files changed, 0 insertions, 0 deletions