First round of big changes: the term team has replaced proc all over the kernel, the few kern_* syscalls have been renamed to sys_* for consistency, and other small changes. The ps app is temporarily disabled until get_next_team_info is implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@557 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -79,9 +79,9 @@ static struct io_context *get_current_io_context(bool kernel);
|
||||
static __inline struct io_context *get_current_io_context(bool kernel)
|
||||
{
|
||||
if (kernel)
|
||||
return proc_get_kernel_proc()->ioctx;
|
||||
return team_get_kernel_team()->ioctx;
|
||||
|
||||
return thread_get_current_thread()->proc->ioctx;
|
||||
return thread_get_current_thread()->team->ioctx;
|
||||
}
|
||||
|
||||
#endif /* _FILE_H */
|
||||
|
||||
Reference in New Issue
Block a user