mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02:00
In current linux.git, gnttab_suspend() and gnttab_resume() are defined and declared unconditionally. However, their only in-tree callers reside in drivers/xen/manage.c, which are guarded by CONFIG_HIBERNATE_CALLBACKS. Match the helper scope to their callers by wrapping the definitions in CONFIG_HIBERNATE_CALLBACKS and providing no-op stubs in the header. This fixes the config-scope mismatch and reduces the code footprint when hibernation callbacks are disabled. Signed-off-by: Pengpeng Hou <pengpeng.hou@isrc.iscas.ac.cn> Signed-off-by: Juergen Gross <jgross@suse.com> Message-ID: <20260310080800.742223-1-pengpeng.hou@isrc.iscas.ac.cn> |
||
|---|---|---|
| .. | ||
| arm | ||
| interface | ||
| acpi.h | ||
| balloon.h | ||
| events.h | ||
| features.h | ||
| grant_table.h | ||
| hvc-console.h | ||
| hvm.h | ||
| mem-reservation.h | ||
| page.h | ||
| pci.h | ||
| platform_pci.h | ||
| swiotlb-xen.h | ||
| xen-front-pgdir-shbuf.h | ||
| xen-ops.h | ||
| xen.h | ||
| xenbus_dev.h | ||
| xenbus.h | ||