- 追加された行はこの色です。
- 削除された行はこの色です。
*参照元 [#xda678fb]
#backlinks
*説明 [#td236099]
-パス: [[linux-4.4.1/]]
-FIXME: これは何?
--説明
**引数 [#o94fb7c9]
-なし
**返り値 [#bcd87c11]
-struct thread_info *
--
--[[linux-4.4.1/thread_info]]
**参考 [#h0e59955]
*実装 [#pf264764]
/*
* how to get the thread information struct from C
*/
static inline struct thread_info *current_thread_info(void) __attribute_const__;
static inline struct thread_info *current_thread_info(void)
{
return (struct thread_info *)
(current_stack_pointer & ~(THREAD_SIZE - 1));
-
--[[linux-4.4.1/current_stack_pointer(global)]]
--[[linux-4.4.1/THREAD_SIZE]]
}
*コメント [#h95217fc]