1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 01:09:38 -05:00
linux/arch/powerpc/platforms/83xx
Kevin Hao 11611d254c powerpc/mpc83xx: Use wait_event_freezable() for freezable kthread
A freezable kernel thread can enter frozen state during freezing by
either calling try_to_freeze() or using wait_event_freezable() and its
variants. So for the following snippet of code in a kernel thread loop:
  wait_event_interruptible();
  try_to_freeze();

We can change it to a simple wait_event_freezable() and then eliminate
a function call.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231221044510.1802429-3-haokexin@gmail.com
2023-12-21 22:10:16 +11:00
..
asp834x.c
Kconfig
km83xx.c
Makefile powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00
mcu_mpc8349emitx.c
misc.c powerpc: Untangle fixmap.h and pgtable.h and mmu.h 2023-10-19 17:12:44 +11:00
mpc83xx.h powerpc/83xx: Fix style problems in usb.c and remove unneccessary includes from mpc83xx.h 2023-08-18 17:03:13 +10:00
mpc830x_rdb.c
mpc831x_rdb.c
mpc832x_rdb.c
mpc834x_itx.c
mpc836x_rdk.c
mpc837x_rdb.c
suspend-asm.S
suspend.c powerpc/mpc83xx: Use wait_event_freezable() for freezable kthread 2023-12-21 22:10:16 +11:00
usb_831x.c powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00
usb_834x.c powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00
usb_837x.c powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00