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 powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
Kconfig powerpc: drop MPC832x_MDS platform support 2023-04-20 13:21:47 +10:00
km83xx.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
Makefile powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00
mcu_mpc8349emitx.c powerpc: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
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 powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
mpc831x_rdb.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
mpc832x_rdb.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
mpc834x_itx.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
mpc836x_rdk.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
mpc837x_rdb.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
suspend-asm.S powerpc/83xx: Blacklist mpc83xx_deep_resume() for kprobe 2020-06-02 20:59:09 +10:00
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