mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
committed by
Christian Helmuth
parent
80e2cea4aa
commit
a630563cbc
@@ -1509,14 +1509,6 @@ void kmsg_dump(enum kmsg_dump_reason reason)
|
||||
}
|
||||
|
||||
|
||||
#include <linux/rcutree.h>
|
||||
|
||||
void kvfree_call_rcu(struct rcu_head * head,rcu_callback_t func)
|
||||
{
|
||||
lx_emul_trace_and_stop(__func__);
|
||||
}
|
||||
|
||||
|
||||
#include <linux/swap.h>
|
||||
|
||||
void mark_page_accessed(struct page * page)
|
||||
|
||||
@@ -261,3 +261,14 @@ void intel_vgpu_detect(struct drm_i915_private * dev_priv)
|
||||
|
||||
printk("disabling PPGTT to avoid GPU code paths\n");
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* taken from src/lib/wifi/lx_emul.c
|
||||
*/
|
||||
void kvfree_call_rcu(struct rcu_head * head,rcu_callback_t func)
|
||||
{
|
||||
void *ptr = (void *) head - (unsigned long) func;
|
||||
kvfree(ptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user