Skip to content
Snippets Groups Projects
Commit d2780575 authored by Satadru Pramanik's avatar Satadru Pramanik Committed by Marge Bot
Browse files

Fix compilation on armv7l with gcc 11.2.0


Cc: mesa-stable
Reviewed-by: default avatarRob Clark <robdclark@chromium.org>
Part-of: <mesa/mesa!12810>
parent d2711f9b
No related branches found
No related tags found
Loading
......@@ -106,12 +106,14 @@ extern bool fd_binning_enabled;
#include <unistd.h>
#include <sys/types.h>
#include <sys/syscall.h>
#define DBG(fmt, ...) \
do { \
if (FD_DBG(MSGS)) \
mesa_logi("%5d: %s:%d: " fmt, gettid(), __FUNCTION__, __LINE__, \
##__VA_ARGS__); \
mesa_logi("%5d: %s:%d: " fmt, ((pid_t)syscall(SYS_gettid)), \
__FUNCTION__, __LINE__, \
##__VA_ARGS__); \
} while (0)
#define perf_debug_message(debug, type, ...) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment