summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/sched_ext/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/sched_ext/util.h')
-rw-r--r--tools/testing/selftests/sched_ext/util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/testing/selftests/sched_ext/util.h b/tools/testing/selftests/sched_ext/util.h
new file mode 100644
index 000000000000..bc13dfec1267
--- /dev/null
+++ b/tools/testing/selftests/sched_ext/util.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates.
+ * Copyright (c) 2024 David Vernet <void@manifault.com>
+ */
+
+#ifndef __SCX_TEST_UTIL_H__
+#define __SCX_TEST_UTIL_H__
+
+long file_read_long(const char *path);
+int file_write_long(const char *path, long val);
+
+#endif // __SCX_TEST_H__