[Intel-gfx] [PATCH] sna: Fix comment on GCC version check
Sedat Dilek
sedat.dilek at gmail.com
Tue Feb 26 15:33:49 CET 2013
The comment was introduced with...
commit 528dbf9ebb2688f476ef283be59d0f2232159dcb
"sna: Fix build on older GCC for cpuid()"
...and is a bit misleading.
[ v2: Point to compatibility with gcc-v4 (e.g. clang) ]
Signed-off-by: Sedat Dilek <sedat.dilek at gmail.com>
---
src/sna/sna_cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sna/sna_cpu.c b/src/sna/sna_cpu.c
index 9110456..3ee4be0 100644
--- a/src/sna/sna_cpu.c
+++ b/src/sna/sna_cpu.c
@@ -31,7 +31,7 @@
#include "sna.h"
-#if defined(__GNUC__) && (__GNUC__ >= 4) /* 4.4 */
+#if defined(__GNUC__) && (__GNUC__ >= 4) /* compiler compatible with gcc-v4 */
#include <cpuid.h>
--
1.8.1.4
More information about the Intel-gfx
mailing list