struct thread *debug_get_fs() {
register u32 fs;
__asm__ __volatile__ ("movl %%fs,%0" : "=r" (fs) : );
- return fs;
+ return (struct thread *)fs;
}
/* free any arch/os-specific resources used by thread, which is now
os_flush_icache(os_vm_address_t address, os_vm_size_t length)
{
}
-