[Intel-gfx] [PATCH] sna: Fix comment on GCC version check

Sedat Dilek sedat.dilek at gmail.com
Tue Feb 26 15:27:52 CET 2013


The comment was introduced with...

commit 528dbf9ebb2688f476ef283be59d0f2232159dcb
"sna: Fix build on older GCC for cpuid()"

...and is a bit misleading.

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..1097ea5 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) /* gcc >= v4 */
 
 #include <cpuid.h>
 
-- 
1.8.1.4




More information about the Intel-gfx mailing list