sched: Don't include nuttx/sched.h inside sched.h

But let nuttx/sched.h include sched.h instead to
avoid expose nuttx kernel API to userspace.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-05-14 10:03:23 +08:00
committed by Masayuki Ishikawa
parent 0146231166
commit 001e7c3e76
105 changed files with 256 additions and 224 deletions
-4
View File
@@ -395,10 +395,6 @@ static inline void set_pcid(uint64_t pcid)
"%%rbx; mov %%rbx, %%cr3;"
::"g"(pcid):"memory", "rbx", "rax");
}
else
{
PANIC();
}
}
static inline unsigned long read_msr(unsigned int msr)