sched.h (177772088060ab0f41bcdbdd81c4712e7f1c7621) sched.h (469884cf04a9b92677c7c83e229ca6b8814f8b0a)
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013-2018 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 68 unchanged lines hidden (view full) ---

77 struct completion parked;
78 struct completion exited;
79#define TS_RCU_TYPE_MAX 2
80 TAILQ_ENTRY(task_struct) rcu_entry[TS_RCU_TYPE_MAX];
81 int rcu_recurse[TS_RCU_TYPE_MAX];
82 int bsd_interrupt_value;
83 struct work_struct *work; /* current work struct, if set */
84 struct task_struct *group_leader;
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013-2018 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 68 unchanged lines hidden (view full) ---

77 struct completion parked;
78 struct completion exited;
79#define TS_RCU_TYPE_MAX 2
80 TAILQ_ENTRY(task_struct) rcu_entry[TS_RCU_TYPE_MAX];
81 int rcu_recurse[TS_RCU_TYPE_MAX];
82 int bsd_interrupt_value;
83 struct work_struct *work; /* current work struct, if set */
84 struct task_struct *group_leader;
85 unsigned rcu_section[TS_RCU_TYPE_MAX];
85 unsigned rcu_section[TS_RCU_TYPE_MAX];
86 unsigned int fpu_ctx_level;
86};
87
88#define current ({ \
89 struct thread *__td = curthread; \
90 linux_set_current(__td); \
91 ((struct task_struct *)__td->td_lkpi_task); \
92})
93

--- 106 unchanged lines hidden ---
87};
88
89#define current ({ \
90 struct thread *__td = curthread; \
91 linux_set_current(__td); \
92 ((struct task_struct *)__td->td_lkpi_task); \
93})
94

--- 106 unchanged lines hidden ---