Add binder and ashmem kernel drivers as out-of-tree modules
Based on code from https://github.com/hungys/binder-for-linux
This commit is contained in:
parent
3d05c50c8b
commit
34e5e70926
12 changed files with 5502 additions and 0 deletions
10
kernel/ashmem/deps.c
Normal file
10
kernel/ashmem/deps.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include <linux/mm.h>
|
||||
|
||||
#include "deps.h"
|
||||
|
||||
static int (*shmem_zero_setup_ptr)(struct vm_area_struct *) = SHMEM_ZERO_SETUP;
|
||||
|
||||
int shmem_zero_setup(struct vm_area_struct *vma)
|
||||
{
|
||||
return shmem_zero_setup_ptr(vma);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue