linux/include/linux/sched/thread_info_api.h

#include <linux/thread_info.h>