diff options
-rw-r--r-- | lib/igt_core.c | 1 | ||||
-rw-r--r-- | lib/igt_core.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c index 99a82d5a..7e5aa342 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -854,6 +854,7 @@ out: kmsg(KERN_INFO "[IGT] %s: executing\n", command_str); print_version(); + sync(); oom_adjust_for_doom(); low_mem_killer_disable(true); } diff --git a/lib/igt_core.h b/lib/igt_core.h index 619c45c6..22b8c223 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -234,7 +234,6 @@ void __igt_subtest_group_restore(int); #define igt_main \ static void igt_tokencat(__real_main, __LINE__)(void); \ int main(int argc, char **argv) { \ - sync(); \ igt_subtest_init_parse_opts(&argc, argv, NULL, NULL, NULL, \ NULL, NULL); \ igt_tokencat(__real_main, __LINE__)(); \ @@ -275,7 +274,6 @@ void igt_simple_init_parse_opts(int *argc, char **argv, #define igt_simple_main \ static void igt_tokencat(__real_main, __LINE__)(void); \ int main(int argc, char **argv) { \ - sync(); \ igt_simple_init_parse_opts(&argc, argv, NULL, NULL, NULL, \ NULL, NULL); \ igt_tokencat(__real_main, __LINE__)(); \ |