From 1184e5778ac3ffd8caf3f4d5b9e2b30a736d64d7 Mon Sep 17 00:00:00 2001 From: Caz Yokoyama Date: Thu, 25 Apr 2019 10:23:13 -0700 Subject: lib: consolidate duplicated define of vfs_file_max(void) Remove it from intel_os.c and gem_exec_reuse.c and globally define in igt_aux.c. v3: update comment in the code and commit message. Signed-off-by: Caz Yokoyama Cc: Petri Latvala Reviewed-by: Petri Latvala --- lib/igt_aux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/igt_aux.h') diff --git a/lib/igt_aux.h b/lib/igt_aux.h index dbd88b67..67e8fbf4 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -298,4 +298,6 @@ void igt_lsof(const char *dpath); #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) +uint64_t vfs_file_max(void); + #endif /* IGT_AUX_H */ -- cgit v1.2.3