Обновление описания, связанного с initial_stack

pull/709/head
proninyaroslav 6 years ago
parent c88e4bee22
commit 9bf796d500

@ -379,15 +379,6 @@ GLOBAL(initial_stack)
`init_thread_union` представлен `thread_union` и определён в файле [include/linux/sched.h](https://github.com/torvalds/linux/blob/0500871f21b237b2bea2d9db405eadf78e5aab05/include/linux/sched.h):
```C
union thread_union {
struct thread_info thread_info;
unsigned long stack[THREAD_SIZE/sizeof(long)];
};
```
но начиная с версии `4.9-rc1` `thread_info` была перемещена в структуру `task_struct`, представляющую потоки. На данный момент `thread_union` выглядит так:
```C
union thread_union {
#ifndef CONFIG_ARCH_TASK_STRUCT_ON_STACK

Loading…
Cancel
Save