[PATCH v5 04/20] liveupdate: Export symbols needed by modules
Vipin Sharma
vipinsh at google.com
Tue Jul 14 08:14:49 PDT 2026
Export liveupdate_register_file_handler() and
liveupdate_unregister_file_handler(). All of these will be used by
vfio-pci in a subsequent commit, which can be built as a module.
Reviewed-by: Samiullah Khawaja <skhawaja at google.com>
Reviewed-by: Pranjal Shrivastava <praan at google.com>
Signed-off-by: David Matlack <dmatlack at google.com>
Signed-off-by: Vipin Sharma <vipinsh at google.com>
---
kernel/liveupdate/luo_file.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/liveupdate/luo_file.c b/kernel/liveupdate/luo_file.c
index c39f96961a85..dd4e26ac34f0 100644
--- a/kernel/liveupdate/luo_file.c
+++ b/kernel/liveupdate/luo_file.c
@@ -909,6 +909,7 @@ int liveupdate_register_file_handler(struct liveupdate_file_handler *fh)
up_write(&luo_register_rwlock);
return err;
}
+EXPORT_SYMBOL_GPL(liveupdate_register_file_handler);
/**
* liveupdate_unregister_file_handler - Unregister a liveupdate file handler
@@ -926,3 +927,4 @@ void liveupdate_unregister_file_handler(struct liveupdate_file_handler *fh)
luo_flb_unregister_all(fh);
list_del(&ACCESS_PRIVATE(fh, list));
}
+EXPORT_SYMBOL_GPL(liveupdate_unregister_file_handler);
--
2.55.0.795.g602f6c329a-goog
More information about the kexec
mailing list