Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
C
1234567891011121314151617181920212223242526272829303132333435363738394041424344/* SPDX-License-Identifier: GPL-2.0 */#ifndef _LINUX__INIT_TASK_H#define _LINUX__INIT_TASK_H
#include <linux/rcupdate.h>#include <linux/irqflags.h>#include <linux/utsname.h>#include <linux/lockdep.h>#include <linux/ftrace.h>#include <linux/ipc.h>#include <linux/pid_namespace.h>#include <linux/user_namespace.h>#include <linux/securebits.h>#include <linux/seqlock.h>#include <linux/rbtree.h>#include <linux/refcount.h>#include <linux/sched/autogroup.h>#include <net/net_namespace.h>#include <linux/sched/rt.h>#include <linux/livepatch.h>#include <linux/mm_types.h>
#include <asm/thread_info.h>
extern struct files_struct init_files;extern struct fs_struct init_fs;extern struct fs_struct *userspace_init_fs;extern struct nsproxy init_nsproxy;
#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
#define INIT_TASK_COMM "swapper"
/* Attach to the thread_info data structure for proper alignment */#define __init_thread_info __section(".data..init_thread_info")
#endif