Blame view

include/linux/init_task.h 1.34 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
  #ifndef _LINUX__INIT_TASK_H
  #define _LINUX__INIT_TASK_H
ab2af1f50   Dipankar Sarma   [PATCH] files: fi...
4
  #include <linux/rcupdate.h>
de30a2b35   Ingo Molnar   [PATCH] lockdep: ...
5
  #include <linux/irqflags.h>
4865ecf13   Serge E. Hallyn   [PATCH] namespace...
6
  #include <linux/utsname.h>
fbb9ce953   Ingo Molnar   [PATCH] lockdep: ...
7
  #include <linux/lockdep.h>
5ac9f6226   Steven Rostedt   function-graph: a...
8
  #include <linux/ftrace.h>
73ea41302   Kirill Korotaev   [PATCH] IPC names...
9
  #include <linux/ipc.h>
9a575a92d   Cedric Le Goater   [PATCH] to nsproxy
10
  #include <linux/pid_namespace.h>
acce292c8   Cedric Le Goater   user namespace: a...
11
  #include <linux/user_namespace.h>
3898b1b4e   Andrew G. Morgan   capabilities: imp...
12
  #include <linux/securebits.h>
6a61671bb   Frederic Weisbecker   cputime: Safely r...
13
  #include <linux/seqlock.h>
fb00aca47   Peter Zijlstra   rtmutex: Turn the...
14
  #include <linux/rbtree.h>
f0b89d395   Elena Reshetova   sched/core: Conve...
15
  #include <linux/refcount.h>
dfc3401a3   Ingo Molnar   sched/headers: Pr...
16
  #include <linux/sched/autogroup.h>
772698f63   Eric W. Biederman   [NET]: Add a netw...
17
  #include <net/net_namespace.h>
77852fea6   Ingo Molnar   sched/rt: Add <li...
18
  #include <linux/sched/rt.h>
d83a7cb37   Josh Poimboeuf   livepatch: change...
19
  #include <linux/livepatch.h>
589ee6284   Ingo Molnar   sched/headers: Pr...
20
  #include <linux/mm_types.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
21

c65eacbe2   Andy Lutomirski   sched/core: Allow...
22
  #include <asm/thread_info.h>
f52111b15   Al Viro   [PATCH] take init...
23
  extern struct files_struct init_files;
18d8fda7c   Al Viro   take init_fs to s...
24
  extern struct fs_struct init_fs;
3678e2fcc   David Howells   Expand the INIT_S...
25
26
27
  extern struct nsproxy init_nsproxy;
  extern struct group_info init_groups;
  extern struct cred init_cred;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
28

9d7fb0427   Peter Zijlstra   sched/cputime: Gu...
29
30
31
32
33
34
35
  #ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
  #define INIT_PREV_CPUTIME(x)	.prev_cputime = {			\
  	.lock = __RAW_SPIN_LOCK_UNLOCKED(x.prev_cputime.lock),		\
  },
  #else
  #define INIT_PREV_CPUTIME(x)
  #endif
f1c6f1a7e   Carsten Emde   sched: Set the co...
36
  #define INIT_TASK_COMM "swapper"
857eceebd   Tim Abbott   Add new __init_ta...
37
  /* Attach to the init_task data structure for proper alignment */
d11ed3ab3   David Howells   Expand INIT_TASK(...
38
  #ifdef CONFIG_ARCH_TASK_STRUCT_ON_STACK
33def8498   Joe Perches   treewide: Convert...
39
  #define __init_task_data __section(".data..init_task")
d11ed3ab3   David Howells   Expand INIT_TASK(...
40
41
42
  #else
  #define __init_task_data /**/
  #endif
857eceebd   Tim Abbott   Add new __init_ta...
43

0500871f2   David Howells   Construct init th...
44
  /* Attach to the thread_info data structure for proper alignment */
33def8498   Joe Perches   treewide: Convert...
45
  #define __init_thread_info __section(".data..init_thread_info")
0500871f2   David Howells   Construct init th...
46

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
47
  #endif