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:
Simon Fels 2016-08-19 09:11:29 +02:00
commit 34e5e70926
12 changed files with 5502 additions and 0 deletions

10
kernel/ashmem/deps.c Normal file
View 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);
}