summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/intel/isl/isl_priv.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/intel/isl/isl_priv.h b/src/intel/isl/isl_priv.h
index 7b222594fd4..d98e7079541 100644
--- a/src/intel/isl/isl_priv.h
+++ b/src/intel/isl/isl_priv.h
@@ -24,6 +24,7 @@
#pragma once
#include <assert.h>
+#include <strings.h>
#include "brw_device_info.h"
#include "util/macros.h"
@@ -39,11 +40,6 @@ __isl_finishme(const char *file, int line, const char *fmt, ...);
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
-static inline uint32_t
-ffs(uint32_t n) {
- return __builtin_ffs(n);
-}
-
static inline bool
isl_is_pow2(uintmax_t n)
{