prepare_process(): pass cpu_set in program_load_desc

This commit is contained in:
Balazs Gerofi
2016-12-09 16:32:20 +09:00
parent 7d13bfb14e
commit fdcf766337
5 changed files with 33 additions and 5 deletions

View File

@@ -700,7 +700,8 @@ static inline int has_cap_sys_admin(struct thread *th)
void hold_address_space(struct address_space *);
void release_address_space(struct address_space *);
struct thread *create_thread(unsigned long user_pc);
struct thread *create_thread(unsigned long user_pc,
unsigned long *__cpu_set, size_t cpu_set_size);
struct thread *clone_thread(struct thread *org, unsigned long pc,
unsigned long sp, int clone_flags);
void destroy_thread(struct thread *thread);