solaris: fixup new cpuset functions
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 9159b0c2de3e207cd15bf73d683a9accdde72934..52f1def7a28d20cdb4bc767f4a5ac7197efd0514 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -475,6 +475,9 @@ enum {
 };
 
 extern void td_set_runstate(struct thread_data *, int);
+extern int td_bump_runstate(struct thread_data *, int);
+extern void td_restore_runstate(struct thread_data *, int);
+
 #define TERMINATE_ALL          (-1)
 extern void fio_terminate_threads(int);
 
@@ -629,4 +632,9 @@ enum {
        FIO_RAND_GEN_LFSR,
 };
 
+enum {
+       FIO_CPUS_SHARED         = 0,
+       FIO_CPUS_SPLIT,
+};
+
 #endif