#include <asm/unistd.h>
#include "../fio.h"
-#include "../os.h"
#ifdef FIO_HAVE_SYSLET
{
struct syslet_data *sd = td->io_ops->data;
+ fio_ro_check(td, io_u);
+
if (sd->tail) {
sd->tail->next = &io_u->req.atom;
sd->tail = &io_u->req.atom;
sd->ahu.head_stack = thread_stack_alloc();
sd->ahu.head_eip = (unsigned long) cachemiss_thread_start;
sd->ahu.new_thread_eip = (unsigned long) cachemiss_thread_start;
+ sd->ahu.new_thread_stack = thread_stack_alloc();
return 0;
}