OpenCloudOS-Kernel/arch/nds32
Peter Zijlstra b03fbd4ff2 sched: Introduce task_is_running()
Replace a bunch of 'p->state == TASK_RUNNING' with a new helper:
task_is_running(p).

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Davidlohr Bueso <dave@stgolabs.net>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210611082838.222401495@infradead.org
2021-06-18 11:43:07 +02:00
..
boot nds32: remove unneeded clean-files for DTB 2019-11-21 16:03:27 +08:00
configs nds32: configs: Cleanup CONFIG_CROSS_COMPILE 2021-02-25 14:31:48 +08:00
include whack-a-mole: kill strlen_user() (again) 2021-03-27 19:36:31 -04:00
kernel sched: Introduce task_is_running() 2021-06-18 11:43:07 +02:00
lib treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
math-emu nds32 patches for 5.2-rc3 2019-06-03 10:23:41 -07:00
mm mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
Kconfig timekeeping: default GENERIC_CLOCKEVENTS to enabled 2020-10-30 21:57:07 +01:00
Kconfig.cpu nds32/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:57 +01:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile kconfig: make arch/*/configs/defconfig the default of KBUILD_DEFCONFIG 2019-06-09 15:08:18 +09:00