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>
18 lines
472 B
C
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 */
|