Add patch for chromeacer kernel to be able to compile it.

This commit is contained in:
parazyd 2018-06-12 13:34:10 +02:00
parent 66f81b0327
commit a04700dd93
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 24 additions and 0 deletions

View File

@ -95,6 +95,9 @@ build_kernel_armhf() {
pushd $R/tmp/kernels/$device_name/${device_name}-linux
#WIFIVERSION="-3.8" make exynos_defconfig || zerr
copy-kernel-config
for i in $R/extra/patches/linux-chromeacer-patches/*.patch ; do
patch -p1 < $i
done
mkdir -p firmware/nvidia/tegra124/
cp -f $R/extra/chromebook-acer/xusb.bin firmware/nvidia/tegra124/
make \

View File

@ -0,0 +1,21 @@
--- fs/configfs/dir.c.orig 2018-06-06 10:29:24.616110050 +0200
+++ fs/configfs/dir.c 2018-06-06 10:29:51.140594997 +0200
@@ -387,8 +387,6 @@ static void remove_dir(struct dentry * d
if (d->d_inode)
simple_rmdir(parent->d_inode,d);
- pr_debug(" o %s removing done (%d)\n",d->d_name.name, d->d_count);
-
dput(parent);
}
@@ -565,9 +563,6 @@ static void detach_attrs(struct config_i
if (!dentry)
return;
- pr_debug("configfs %s: dropping attrs for dir\n",
- dentry->d_name.name);
-
parent_sd = dentry->d_fsdata;
list_for_each_entry_safe(sd, tmp, &parent_sd->s_children, s_sibling) {
if (!sd->s_element || !(sd->s_type & CONFIGFS_NOT_PINNED))