ANDROID: make list_lru/task_work C functions available to Rust

Binder calls these C functions directly, so they need to be callable
from Rust. This change can be reverted once b/394605825 is fixed.

Bug: 388786466
Bug: 394605825
Change-Id: I02af16a1dc50a3a7595c0f40494e8054e563e74d
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
This commit is contained in:
Alice Ryhl
2025-02-06 14:15:19 +00:00
parent d5fd4e90e7
commit 0fc3870786
3 changed files with 26 additions and 0 deletions
+3
View File
@@ -13,11 +13,13 @@
#include <linux/cred.h>
#include <linux/errname.h>
#include <linux/ethtool.h>
#include <linux/fdtable.h>
#include <linux/file.h>
#include <linux/firmware.h>
#include <linux/fs.h>
#include <linux/jiffies.h>
#include <linux/jump_label.h>
#include <linux/list_lru.h>
#include <linux/mdio.h>
#include <linux/miscdevice.h>
#include <linux/phy.h>
@@ -27,6 +29,7 @@
#include <linux/sched.h>
#include <linux/security.h>
#include <linux/slab.h>
#include <linux/task_work.h>
#include <linux/tracepoint.h>
#include <linux/wait.h>
#include <linux/workqueue.h>