| .. | .. |
|---|
| 13 | 13 | #include <linux/securebits.h> |
|---|
| 14 | 14 | #include <linux/seqlock.h> |
|---|
| 15 | 15 | #include <linux/rbtree.h> |
|---|
| 16 | +#include <linux/refcount.h> |
|---|
| 16 | 17 | #include <linux/sched/autogroup.h> |
|---|
| 17 | 18 | #include <net/net_namespace.h> |
|---|
| 18 | 19 | #include <linux/sched/rt.h> |
|---|
| .. | .. |
|---|
| 35 | 36 | #define INIT_PREV_CPUTIME(x) |
|---|
| 36 | 37 | #endif |
|---|
| 37 | 38 | |
|---|
| 38 | | -#ifdef CONFIG_POSIX_TIMERS |
|---|
| 39 | | -#define INIT_CPU_TIMERS(s) \ |
|---|
| 40 | | - .cpu_timers = { \ |
|---|
| 41 | | - LIST_HEAD_INIT(s.cpu_timers[0]), \ |
|---|
| 42 | | - LIST_HEAD_INIT(s.cpu_timers[1]), \ |
|---|
| 43 | | - LIST_HEAD_INIT(s.cpu_timers[2]), \ |
|---|
| 44 | | - }, |
|---|
| 45 | | -#else |
|---|
| 46 | | -#define INIT_CPU_TIMERS(s) |
|---|
| 47 | | -#endif |
|---|
| 48 | | - |
|---|
| 49 | 39 | #define INIT_TASK_COMM "swapper" |
|---|
| 50 | 40 | |
|---|
| 51 | 41 | /* Attach to the init_task data structure for proper alignment */ |
|---|
| 52 | 42 | #ifdef CONFIG_ARCH_TASK_STRUCT_ON_STACK |
|---|
| 53 | | -#define __init_task_data __attribute__((__section__(".data..init_task"))) |
|---|
| 43 | +#define __init_task_data __section(".data..init_task") |
|---|
| 54 | 44 | #else |
|---|
| 55 | 45 | #define __init_task_data /**/ |
|---|
| 56 | 46 | #endif |
|---|
| 57 | 47 | |
|---|
| 58 | 48 | /* Attach to the thread_info data structure for proper alignment */ |
|---|
| 59 | | -#define __init_thread_info __attribute__((__section__(".data..init_thread_info"))) |
|---|
| 49 | +#define __init_thread_info __section(".data..init_thread_info") |
|---|
| 60 | 50 | |
|---|
| 61 | 51 | #endif |
|---|