Files
u-boot/include/linux/freezer.h
Simon Glass f592f31464 ext4l: Extract freezer.h declarations into their own file
Create include/linux/freezer.h with stub definitions for process
freezer functions used during suspend/hibernate. U-Boot doesn't
support process freezing, so these are no-ops.

Update compat.h to include freezer.h and remove duplicate definitions.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-17 14:01:22 +00:00

18 lines
472 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/* Freezer declarations
*
* Stub definitions for Linux kernel freezer (suspend/hibernate).
* U-Boot doesn't support process freezing.
*/
#ifndef _LINUX_FREEZER_H
#define _LINUX_FREEZER_H
#define set_freezable() do { } while (0)
#define try_to_freeze() 0
#define freezing(task) 0
#define frozen(task) 0
#define freezable_schedule() do { } while (0)
#define freezable_schedule_timeout(t) 0
#endif /* _LINUX_FREEZER_H */