OSDN Git Service

vc4: Fix min() wrapper definition for the simulator's kernel code.
authorEric Anholt <eric@anholt.net>
Mon, 14 Dec 2015 20:25:28 +0000 (12:25 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 15 Dec 2015 20:02:53 +0000 (12:02 -0800)
src/gallium/drivers/vc4/vc4_simulator_validate.h

index 40d3ada..e1f8b5a 100644 (file)
@@ -45,7 +45,7 @@ struct vc4_exec_info;
 #define roundup(x, y) align(x, y)
 #define round_up(x, y) align(x, y)
 #define max(x, y) MAX2(x, y)
-#define min(x, y) MiN2(x, y)
+#define min(x, y) MIN2(x, y)
 #define BUG_ON(condition) assert(!(condition))
 
 static inline int