[PATCH v19 39/40] rust: completion: Add __rust_helper to rust_helper_wait_for_completion()
Byungchul Park <[email protected]>
| Newsgroups | gmane.linux.block,gmane.linux.kernel,gmane.linux.ide,gmane.comp.file-systems.ext4,gmane.linux.kernel.mm,gmane.linux.file-systems,gmane.comp.video.dri.devel,gmane.linux.network,gmane.linux.documentation,gmane.linux.ports.arm.kernel,gmane.linux.drivers.video-input-infrastructure,gmane.linux.drivers.i2c,gmane.linux.kernel.cross-arch,gmane.linux.kernel.modules,gmane.linux.nfs,gmane.linux.kernel.rust |
|---|---|
| Message-ID | <[email protected]> |
This is needed to inline these helpers into Rust code, which is required for DEPT to play with wait_for_completion(). Signed-off-by: Byungchul Park <[email protected]> --- rust/helpers/completion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/helpers/completion.c b/rust/helpers/completion.c index 5ea2eef74abc..7b55c960fe22 100644 --- a/rust/helpers/completion.c +++ b/rust/helpers/completion.c @@ -7,7 +7,7 @@ __rust_helper void rust_helper_init_completion(struct completion *x) init_completion(x); } -void rust_helper_wait_for_completion(struct completion *x) +__rust_helper void rust_helper_wait_for_completion(struct completion *x) { wait_for_completion(x); } -- 2.17.1