aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-22 11:00:52 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-03 09:54:40 +0000
commit777537c2623cbef91a8140f9d24b217e3b231885 (patch)
tree6ab49687dcd2b6c4014bf699667c85468a27a3e2
parent47f20c51aa8af995912b40312e497241f78eee86 (diff)
downloadalpine_aports-777537c2623cbef91a8140f9d24b217e3b231885.tar.bz2
alpine_aports-777537c2623cbef91a8140f9d24b217e3b231885.tar.xz
alpine_aports-777537c2623cbef91a8140f9d24b217e3b231885.zip
main/linux-grsec: upgrade to 3.0.14 kernel
(cherry picked from commit 034cffa7947a7b5b89b61d90b9ba6e6fecf8fc0b)
-rw-r--r--main/linux-grsec/APKBUILD8
-rw-r--r--main/linux-grsec/grsecurity-2.2.2-3.0.14-unofficial.patch (renamed from main/linux-grsec/grsecurity-2.2.2-3.0.13-unofficial.patch)96
2 files changed, 52 insertions, 52 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index 3bb5a31c06..e16e6af24e 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -2,9 +2,9 @@
2 2
3_flavor=grsec 3_flavor=grsec
4pkgname=linux-${_flavor} 4pkgname=linux-${_flavor}
5pkgver=3.0.13 5pkgver=3.0.14
6_kernver=3.0 6_kernver=3.0
7pkgrel=1 7pkgrel=0
8pkgdesc="Linux kernel with grsecurity" 8pkgdesc="Linux kernel with grsecurity"
9url=http://grsecurity.net 9url=http://grsecurity.net
10depends="mkinitfs linux-firmware" 10depends="mkinitfs linux-firmware"
@@ -143,8 +143,8 @@ dev() {
143} 143}
144 144
145md5sums="398e95866794def22b12dfbc15ce89c0 linux-3.0.tar.bz2 145md5sums="398e95866794def22b12dfbc15ce89c0 linux-3.0.tar.bz2
146bf47382f0c923b8dc2b5e8e456c59cc9 patch-3.0.13.bz2 146f2745bd4dcb3267414713adff403b54c patch-3.0.14.bz2
147d5c9b286a5a947fa25ccd386e5cd2387 grsecurity-2.2.2-3.0.13-unofficial.patch 1473c0fcf923a27a963ae86a3e694cb6bbd grsecurity-2.2.2-3.0.14-unofficial.patch
148c41cf0ee9794f393423c6b2093072260 grsec-timblogiw-noconst.patch 148c41cf0ee9794f393423c6b2093072260 grsec-timblogiw-noconst.patch
149ebb99ef6ad8cd2d9fd8f49d5c5849057 0001-ip_gre-dont-increase-dev-needed_headroom-on-a-live-d.patch 149ebb99ef6ad8cd2d9fd8f49d5c5849057 0001-ip_gre-dont-increase-dev-needed_headroom-on-a-live-d.patch
150776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch 150776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch
diff --git a/main/linux-grsec/grsecurity-2.2.2-3.0.13-unofficial.patch b/main/linux-grsec/grsecurity-2.2.2-3.0.14-unofficial.patch
index a63a19122c..c4c0b6ef42 100644
--- a/main/linux-grsec/grsecurity-2.2.2-3.0.13-unofficial.patch
+++ b/main/linux-grsec/grsecurity-2.2.2-3.0.14-unofficial.patch
@@ -158,7 +158,7 @@ index aa47be7..1fbd18f 100644
158 158
159 pcd. [PARIDE] 159 pcd. [PARIDE]
160diff --git a/Makefile b/Makefile 160diff --git a/Makefile b/Makefile
161index 5ccc962..f6e640e 100644 161index f4f577b..9e9b120 100644
162--- a/Makefile 162--- a/Makefile
163+++ b/Makefile 163+++ b/Makefile
164@@ -245,8 +245,9 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ 164@@ -245,8 +245,9 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
@@ -21096,10 +21096,10 @@ index 2dbf6bf..4a744ee 100644
21096+ return ret ? -EFAULT : 0; 21096+ return ret ? -EFAULT : 0;
21097+} 21097+}
21098diff --git a/arch/x86/mm/gup.c b/arch/x86/mm/gup.c 21098diff --git a/arch/x86/mm/gup.c b/arch/x86/mm/gup.c
21099index ea30585..b5e1508 100644 21099index dd74e46..7d26398 100644
21100--- a/arch/x86/mm/gup.c 21100--- a/arch/x86/mm/gup.c
21101+++ b/arch/x86/mm/gup.c 21101+++ b/arch/x86/mm/gup.c
21102@@ -253,7 +253,7 @@ int __get_user_pages_fast(unsigned long start, int nr_pages, int write, 21102@@ -255,7 +255,7 @@ int __get_user_pages_fast(unsigned long start, int nr_pages, int write,
21103 addr = start; 21103 addr = start;
21104 len = (unsigned long) nr_pages << PAGE_SHIFT; 21104 len = (unsigned long) nr_pages << PAGE_SHIFT;
21105 end = start + len; 21105 end = start + len;
@@ -30610,7 +30610,7 @@ index 17cb6ab..f448b35 100644
30610 r10_bio->devs[sl].addr + 30610 r10_bio->devs[sl].addr +
30611 sect, 30611 sect,
30612diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c 30612diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
30613index cbb50d3..6e20094 100644 30613index 1f6c68d..c384765 100644
30614--- a/drivers/md/raid5.c 30614--- a/drivers/md/raid5.c
30615+++ b/drivers/md/raid5.c 30615+++ b/drivers/md/raid5.c
30616@@ -550,7 +550,7 @@ static void ops_run_io(struct stripe_head *sh, struct stripe_head_state *s) 30616@@ -550,7 +550,7 @@ static void ops_run_io(struct stripe_head *sh, struct stripe_head_state *s)
@@ -36394,7 +36394,7 @@ index 179063d..7baed53 100644
36394 core_tmr_handle_tas_abort(tmr_nacl, cmd, tas, fe_count); 36394 core_tmr_handle_tas_abort(tmr_nacl, cmd, tas, fe_count);
36395 36395
36396diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c 36396diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
36397index 4b9b716..ec411b3 100644 36397index 1340ffd..610981a 100644
36398--- a/drivers/target/target_core_transport.c 36398--- a/drivers/target/target_core_transport.c
36399+++ b/drivers/target/target_core_transport.c 36399+++ b/drivers/target/target_core_transport.c
36400@@ -1681,7 +1681,7 @@ struct se_device *transport_add_device_to_core_hba( 36400@@ -1681,7 +1681,7 @@ struct se_device *transport_add_device_to_core_hba(
@@ -36436,7 +36436,7 @@ index 4b9b716..ec411b3 100644
36436 T_TASK(cmd)->t_task_cdbs) 36436 T_TASK(cmd)->t_task_cdbs)
36437 atomic_set(&cmd->transport_sent, 1); 36437 atomic_set(&cmd->transport_sent, 1);
36438 36438
36439@@ -5568,7 +5568,7 @@ static void transport_generic_wait_for_tasks( 36439@@ -5573,7 +5573,7 @@ static void transport_generic_wait_for_tasks(
36440 atomic_set(&T_TASK(cmd)->transport_lun_stop, 0); 36440 atomic_set(&T_TASK(cmd)->transport_lun_stop, 0);
36441 } 36441 }
36442 if (!atomic_read(&T_TASK(cmd)->t_transport_active) || 36442 if (!atomic_read(&T_TASK(cmd)->t_transport_active) ||
@@ -36445,7 +36445,7 @@ index 4b9b716..ec411b3 100644
36445 goto remove; 36445 goto remove;
36446 36446
36447 atomic_set(&T_TASK(cmd)->t_transport_stop, 1); 36447 atomic_set(&T_TASK(cmd)->t_transport_stop, 1);
36448@@ -5797,7 +5797,7 @@ int transport_check_aborted_status(struct se_cmd *cmd, int send_status) 36448@@ -5802,7 +5802,7 @@ int transport_check_aborted_status(struct se_cmd *cmd, int send_status)
36449 { 36449 {
36450 int ret = 0; 36450 int ret = 0;
36451 36451
@@ -36454,7 +36454,7 @@ index 4b9b716..ec411b3 100644
36454 if (!(send_status) || 36454 if (!(send_status) ||
36455 (cmd->se_cmd_flags & SCF_SENT_DELAYED_TAS)) 36455 (cmd->se_cmd_flags & SCF_SENT_DELAYED_TAS))
36456 return 1; 36456 return 1;
36457@@ -5825,7 +5825,7 @@ void transport_send_task_abort(struct se_cmd *cmd) 36457@@ -5830,7 +5830,7 @@ void transport_send_task_abort(struct se_cmd *cmd)
36458 */ 36458 */
36459 if (cmd->data_direction == DMA_TO_DEVICE) { 36459 if (cmd->data_direction == DMA_TO_DEVICE) {
36460 if (CMD_TFO(cmd)->write_pending_status(cmd) != 0) { 36460 if (CMD_TFO(cmd)->write_pending_status(cmd) != 0) {
@@ -36463,7 +36463,7 @@ index 4b9b716..ec411b3 100644
36463 smp_mb__after_atomic_inc(); 36463 smp_mb__after_atomic_inc();
36464 cmd->scsi_status = SAM_STAT_TASK_ABORTED; 36464 cmd->scsi_status = SAM_STAT_TASK_ABORTED;
36465 transport_new_cmd_failure(cmd); 36465 transport_new_cmd_failure(cmd);
36466@@ -5949,7 +5949,7 @@ static void transport_processing_shutdown(struct se_device *dev) 36466@@ -5954,7 +5954,7 @@ static void transport_processing_shutdown(struct se_device *dev)
36467 CMD_TFO(cmd)->get_task_tag(cmd), 36467 CMD_TFO(cmd)->get_task_tag(cmd),
36468 T_TASK(cmd)->t_task_cdbs, 36468 T_TASK(cmd)->t_task_cdbs,
36469 atomic_read(&T_TASK(cmd)->t_task_cdbs_left), 36469 atomic_read(&T_TASK(cmd)->t_task_cdbs_left),
@@ -42335,10 +42335,10 @@ index 9a37a9b..35792b6 100644
42335 /* 42335 /*
42336 * We'll have a dentry and an inode for 42336 * We'll have a dentry and an inode for
42337diff --git a/fs/dcache.c b/fs/dcache.c 42337diff --git a/fs/dcache.c b/fs/dcache.c
42338index fbdcbca..ab87fb6 100644 42338index d2f8feb..f2a208a 100644
42339--- a/fs/dcache.c 42339--- a/fs/dcache.c
42340+++ b/fs/dcache.c 42340+++ b/fs/dcache.c
42341@@ -3089,7 +3089,7 @@ void __init vfs_caches_init(unsigned long mempages) 42341@@ -3106,7 +3106,7 @@ void __init vfs_caches_init(unsigned long mempages)
42342 mempages -= reserve; 42342 mempages -= reserve;
42343 42343
42344 names_cachep = kmem_cache_create("names_cache", PATH_MAX, 0, 42344 names_cachep = kmem_cache_create("names_cache", PATH_MAX, 0,
@@ -44974,7 +44974,7 @@ index b6cca47..ec782c3 100644
44974 cuse_class = class_create(THIS_MODULE, "cuse"); 44974 cuse_class = class_create(THIS_MODULE, "cuse");
44975 if (IS_ERR(cuse_class)) 44975 if (IS_ERR(cuse_class))
44976diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c 44976diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
44977index 5cb8614..6865b11 100644 44977index 2aaf3ea..8e50863 100644
44978--- a/fs/fuse/dev.c 44978--- a/fs/fuse/dev.c
44979+++ b/fs/fuse/dev.c 44979+++ b/fs/fuse/dev.c
44980@@ -1242,7 +1242,7 @@ static ssize_t fuse_dev_splice_read(struct file *in, loff_t *ppos, 44980@@ -1242,7 +1242,7 @@ static ssize_t fuse_dev_splice_read(struct file *in, loff_t *ppos,
@@ -45847,10 +45847,10 @@ index f7593c0..581e14f 100644
45847 out: 45847 out:
45848 return len; 45848 return len;
45849diff --git a/fs/namespace.c b/fs/namespace.c 45849diff --git a/fs/namespace.c b/fs/namespace.c
45850index 537dd96..672cd58 100644 45850index edc1c4a..b208120 100644
45851--- a/fs/namespace.c 45851--- a/fs/namespace.c
45852+++ b/fs/namespace.c 45852+++ b/fs/namespace.c
45853@@ -1329,6 +1329,9 @@ static int do_umount(struct vfsmount *mnt, int flags) 45853@@ -1326,6 +1326,9 @@ static int do_umount(struct vfsmount *mnt, int flags)
45854 if (!(sb->s_flags & MS_RDONLY)) 45854 if (!(sb->s_flags & MS_RDONLY))
45855 retval = do_remount_sb(sb, MS_RDONLY, NULL, 0); 45855 retval = do_remount_sb(sb, MS_RDONLY, NULL, 0);
45856 up_write(&sb->s_umount); 45856 up_write(&sb->s_umount);
@@ -45860,7 +45860,7 @@ index 537dd96..672cd58 100644
45860 return retval; 45860 return retval;
45861 } 45861 }
45862 45862
45863@@ -1348,6 +1351,9 @@ static int do_umount(struct vfsmount *mnt, int flags) 45863@@ -1345,6 +1348,9 @@ static int do_umount(struct vfsmount *mnt, int flags)
45864 br_write_unlock(vfsmount_lock); 45864 br_write_unlock(vfsmount_lock);
45865 up_write(&namespace_sem); 45865 up_write(&namespace_sem);
45866 release_mounts(&umount_list); 45866 release_mounts(&umount_list);
@@ -45870,7 +45870,7 @@ index 537dd96..672cd58 100644
45870 return retval; 45870 return retval;
45871 } 45871 }
45872 45872
45873@@ -2339,6 +2345,16 @@ long do_mount(char *dev_name, char *dir_name, char *type_page, 45873@@ -2336,6 +2342,16 @@ long do_mount(char *dev_name, char *dir_name, char *type_page,
45874 MS_NOATIME | MS_NODIRATIME | MS_RELATIME| MS_KERNMOUNT | 45874 MS_NOATIME | MS_NODIRATIME | MS_RELATIME| MS_KERNMOUNT |
45875 MS_STRICTATIME); 45875 MS_STRICTATIME);
45876 45876
@@ -45887,7 +45887,7 @@ index 537dd96..672cd58 100644
45887 if (flags & MS_REMOUNT) 45887 if (flags & MS_REMOUNT)
45888 retval = do_remount(&path, flags & ~MS_REMOUNT, mnt_flags, 45888 retval = do_remount(&path, flags & ~MS_REMOUNT, mnt_flags,
45889 data_page); 45889 data_page);
45890@@ -2353,6 +2369,9 @@ long do_mount(char *dev_name, char *dir_name, char *type_page, 45890@@ -2350,6 +2366,9 @@ long do_mount(char *dev_name, char *dir_name, char *type_page,
45891 dev_name, data_page); 45891 dev_name, data_page);
45892 dput_out: 45892 dput_out:
45893 path_put(&path); 45893 path_put(&path);
@@ -45897,7 +45897,7 @@ index 537dd96..672cd58 100644
45897 return retval; 45897 return retval;
45898 } 45898 }
45899 45899
45900@@ -2576,6 +2595,11 @@ SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, 45900@@ -2573,6 +2592,11 @@ SYSCALL_DEFINE2(pivot_root, const char __user *, new_root,
45901 if (error) 45901 if (error)
45902 goto out2; 45902 goto out2;
45903 45903
@@ -47335,7 +47335,7 @@ index d245cb2..7e645bd 100644
47335 return -EPERM; 47335 return -EPERM;
47336 if (kcore_need_update) 47336 if (kcore_need_update)
47337diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c 47337diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c
47338index ed257d1..dda1954 100644 47338index a962827..2963d5b 100644
47339--- a/fs/proc/meminfo.c 47339--- a/fs/proc/meminfo.c
47340+++ b/fs/proc/meminfo.c 47340+++ b/fs/proc/meminfo.c
47341@@ -29,6 +29,8 @@ static int meminfo_proc_show(struct seq_file *m, void *v) 47341@@ -29,6 +29,8 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
@@ -47347,7 +47347,7 @@ index ed257d1..dda1954 100644
47347 /* 47347 /*
47348 * display in kilobytes. 47348 * display in kilobytes.
47349 */ 47349 */
47350@@ -157,7 +159,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v) 47350@@ -158,7 +160,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
47351 vmi.used >> 10, 47351 vmi.used >> 10,
47352 vmi.largest_chunk >> 10 47352 vmi.largest_chunk >> 10
47353 #ifdef CONFIG_MEMORY_FAILURE 47353 #ifdef CONFIG_MEMORY_FAILURE
@@ -47958,7 +47958,7 @@ index d33418f..f8e06bc 100644
47958 return -EINVAL; 47958 return -EINVAL;
47959 47959
47960diff --git a/fs/seq_file.c b/fs/seq_file.c 47960diff --git a/fs/seq_file.c b/fs/seq_file.c
47961index 05d6b0e..ee96362 100644 47961index dba43c3..a99fb63 100644
47962--- a/fs/seq_file.c 47962--- a/fs/seq_file.c
47963+++ b/fs/seq_file.c 47963+++ b/fs/seq_file.c
47964@@ -76,7 +76,8 @@ static int traverse(struct seq_file *m, loff_t offset) 47964@@ -76,7 +76,8 @@ static int traverse(struct seq_file *m, loff_t offset)
@@ -48428,7 +48428,7 @@ index f5b697b..a8de28d 100644
48428 if (!IS_ERR(s)) 48428 if (!IS_ERR(s))
48429 kfree(s); 48429 kfree(s);
48430diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c 48430diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
48431index e546a33..08583b8 100644 48431index a175933..36cd8dd 100644
48432--- a/fs/xfs/xfs_bmap.c 48432--- a/fs/xfs/xfs_bmap.c
48433+++ b/fs/xfs/xfs_bmap.c 48433+++ b/fs/xfs/xfs_bmap.c
48434@@ -253,7 +253,7 @@ xfs_bmap_validate_ret( 48434@@ -253,7 +253,7 @@ xfs_bmap_validate_ret(
@@ -59352,7 +59352,7 @@ index 5e6f427..953d4f8 100644
59352 }; 59352 };
59353 59353
59354diff --git a/include/linux/fs.h b/include/linux/fs.h 59354diff --git a/include/linux/fs.h b/include/linux/fs.h
59355index b5b9792..caf64ce 100644 59355index 7b17db7..f586116 100644
59356--- a/include/linux/fs.h 59356--- a/include/linux/fs.h
59357+++ b/include/linux/fs.h 59357+++ b/include/linux/fs.h
59358@@ -109,6 +109,11 @@ struct inodes_stat_t { 59358@@ -109,6 +109,11 @@ struct inodes_stat_t {
@@ -67851,7 +67851,7 @@ index 4e4932a..be244da 100644
67851 (table->proc_handler == proc_dointvec_minmax) || 67851 (table->proc_handler == proc_dointvec_minmax) ||
67852 (table->proc_handler == proc_dointvec_jiffies) || 67852 (table->proc_handler == proc_dointvec_jiffies) ||
67853diff --git a/kernel/taskstats.c b/kernel/taskstats.c 67853diff --git a/kernel/taskstats.c b/kernel/taskstats.c
67854index fc0f220..c3b11a1 100644 67854index 8d597b1..6eab856 100644
67855--- a/kernel/taskstats.c 67855--- a/kernel/taskstats.c
67856+++ b/kernel/taskstats.c 67856+++ b/kernel/taskstats.c
67857@@ -27,9 +27,12 @@ 67857@@ -27,9 +27,12 @@
@@ -67894,7 +67894,7 @@ index d776062..fa8d186 100644
67894 sys_tz = *tz; 67894 sys_tz = *tz;
67895 update_vsyscall_tz(); 67895 update_vsyscall_tz();
67896diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c 67896diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
67897index ea5e1a9..8b8df07 100644 67897index 8b70c76..923e9f5 100644
67898--- a/kernel/time/alarmtimer.c 67898--- a/kernel/time/alarmtimer.c
67899+++ b/kernel/time/alarmtimer.c 67899+++ b/kernel/time/alarmtimer.c
67900@@ -693,7 +693,7 @@ static int __init alarmtimer_init(void) 67900@@ -693,7 +693,7 @@ static int __init alarmtimer_init(void)
@@ -68739,10 +68739,10 @@ index cc5acf9..fd56cc0 100644
68739 /* if an huge pmd materialized from under us just retry later */ 68739 /* if an huge pmd materialized from under us just retry later */
68740 if (unlikely(pmd_trans_huge(*pmd))) 68740 if (unlikely(pmd_trans_huge(*pmd)))
68741diff --git a/mm/hugetlb.c b/mm/hugetlb.c 68741diff --git a/mm/hugetlb.c b/mm/hugetlb.c
68742index 2b57cd9..8c89c5e 100644 68742index 80936a1..c060d53 100644
68743--- a/mm/hugetlb.c 68743--- a/mm/hugetlb.c
68744+++ b/mm/hugetlb.c 68744+++ b/mm/hugetlb.c
68745@@ -2339,6 +2339,27 @@ static int unmap_ref_private(struct mm_struct *mm, struct vm_area_struct *vma, 68745@@ -2340,6 +2340,27 @@ static int unmap_ref_private(struct mm_struct *mm, struct vm_area_struct *vma,
68746 return 1; 68746 return 1;
68747 } 68747 }
68748 68748
@@ -68770,7 +68770,7 @@ index 2b57cd9..8c89c5e 100644
68770 /* 68770 /*
68771 * Hugetlb_cow() should be called with page lock of the original hugepage held. 68771 * Hugetlb_cow() should be called with page lock of the original hugepage held.
68772 */ 68772 */
68773@@ -2442,6 +2463,11 @@ retry_avoidcopy: 68773@@ -2443,6 +2464,11 @@ retry_avoidcopy:
68774 make_huge_pte(vma, new_page, 1)); 68774 make_huge_pte(vma, new_page, 1));
68775 page_remove_rmap(old_page); 68775 page_remove_rmap(old_page);
68776 hugepage_add_new_anon_rmap(new_page, vma, address); 68776 hugepage_add_new_anon_rmap(new_page, vma, address);
@@ -68782,7 +68782,7 @@ index 2b57cd9..8c89c5e 100644
68782 /* Make the old page be freed below */ 68782 /* Make the old page be freed below */
68783 new_page = old_page; 68783 new_page = old_page;
68784 mmu_notifier_invalidate_range_end(mm, 68784 mmu_notifier_invalidate_range_end(mm,
68785@@ -2593,6 +2619,10 @@ retry: 68785@@ -2594,6 +2620,10 @@ retry:
68786 && (vma->vm_flags & VM_SHARED))); 68786 && (vma->vm_flags & VM_SHARED)));
68787 set_huge_pte_at(mm, address, ptep, new_pte); 68787 set_huge_pte_at(mm, address, ptep, new_pte);
68788 68788
@@ -68793,7 +68793,7 @@ index 2b57cd9..8c89c5e 100644
68793 if ((flags & FAULT_FLAG_WRITE) && !(vma->vm_flags & VM_SHARED)) { 68793 if ((flags & FAULT_FLAG_WRITE) && !(vma->vm_flags & VM_SHARED)) {
68794 /* Optimization, do the COW without a second fault */ 68794 /* Optimization, do the COW without a second fault */
68795 ret = hugetlb_cow(mm, vma, address, ptep, new_pte, page); 68795 ret = hugetlb_cow(mm, vma, address, ptep, new_pte, page);
68796@@ -2622,6 +2652,10 @@ int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, 68796@@ -2623,6 +2653,10 @@ int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
68797 static DEFINE_MUTEX(hugetlb_instantiation_mutex); 68797 static DEFINE_MUTEX(hugetlb_instantiation_mutex);
68798 struct hstate *h = hstate_vma(vma); 68798 struct hstate *h = hstate_vma(vma);
68799 68799
@@ -68804,7 +68804,7 @@ index 2b57cd9..8c89c5e 100644
68804 ptep = huge_pte_offset(mm, address); 68804 ptep = huge_pte_offset(mm, address);
68805 if (ptep) { 68805 if (ptep) {
68806 entry = huge_ptep_get(ptep); 68806 entry = huge_ptep_get(ptep);
68807@@ -2633,6 +2667,26 @@ int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, 68807@@ -2634,6 +2668,26 @@ int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
68808 VM_FAULT_SET_HINDEX(h - hstates); 68808 VM_FAULT_SET_HINDEX(h - hstates);
68809 } 68809 }
68810 68810
@@ -71474,7 +71474,7 @@ index 9edc897..955be3d 100644
71474 new->vm_region = region; 71474 new->vm_region = region;
71475 71475
71476diff --git a/mm/page_alloc.c b/mm/page_alloc.c 71476diff --git a/mm/page_alloc.c b/mm/page_alloc.c
71477index 0f50cdb..df4b678 100644 71477index 8439d2a..b5e8c8c 100644
71478--- a/mm/page_alloc.c 71478--- a/mm/page_alloc.c
71479+++ b/mm/page_alloc.c 71479+++ b/mm/page_alloc.c
71480@@ -340,7 +340,7 @@ out: 71480@@ -340,7 +340,7 @@ out:
@@ -71545,11 +71545,11 @@ index 0f50cdb..df4b678 100644
71545 } 71545 }
71546 return 0; 71546 return 0;
71547diff --git a/mm/percpu.c b/mm/percpu.c 71547diff --git a/mm/percpu.c b/mm/percpu.c
71548index bf80e55..c7c3f9a 100644 71548index 93b5a7c..28d642c 100644
71549--- a/mm/percpu.c 71549--- a/mm/percpu.c
71550+++ b/mm/percpu.c 71550+++ b/mm/percpu.c
71551@@ -121,7 +121,7 @@ static unsigned int pcpu_first_unit_cpu __read_mostly; 71551@@ -121,7 +121,7 @@ static unsigned int pcpu_low_unit_cpu __read_mostly;
71552 static unsigned int pcpu_last_unit_cpu __read_mostly; 71552 static unsigned int pcpu_high_unit_cpu __read_mostly;
71553 71553
71554 /* the address of the first chunk which starts with the kernel static area */ 71554 /* the address of the first chunk which starts with the kernel static area */
71555-void *pcpu_base_addr __read_mostly; 71555-void *pcpu_base_addr __read_mostly;
@@ -72567,7 +72567,7 @@ index 88ea1bd..0f1dfdb 100644
72567 mm->unmap_area = arch_unmap_area; 72567 mm->unmap_area = arch_unmap_area;
72568 } 72568 }
72569diff --git a/mm/vmalloc.c b/mm/vmalloc.c 72569diff --git a/mm/vmalloc.c b/mm/vmalloc.c
72570index 65d5fd2..4f14696 100644 72570index 43b44db..5361145 100644
72571--- a/mm/vmalloc.c 72571--- a/mm/vmalloc.c
72572+++ b/mm/vmalloc.c 72572+++ b/mm/vmalloc.c
72573@@ -39,8 +39,19 @@ static void vunmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end) 72573@@ -39,8 +39,19 @@ static void vunmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end)
@@ -72716,7 +72716,7 @@ index 65d5fd2..4f14696 100644
72716 area = __get_vm_area_node(size, align, VM_ALLOC | VM_UNLIST, 72716 area = __get_vm_area_node(size, align, VM_ALLOC | VM_UNLIST,
72717 start, end, node, gfp_mask, caller); 72717 start, end, node, gfp_mask, caller);
72718 72718
72719@@ -1686,6 +1748,7 @@ static void *__vmalloc_node(unsigned long size, unsigned long align, 72719@@ -1688,6 +1750,7 @@ static void *__vmalloc_node(unsigned long size, unsigned long align,
72720 gfp_mask, prot, node, caller); 72720 gfp_mask, prot, node, caller);
72721 } 72721 }
72722 72722
@@ -72724,7 +72724,7 @@ index 65d5fd2..4f14696 100644
72724 void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot) 72724 void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot)
72725 { 72725 {
72726 return __vmalloc_node(size, 1, gfp_mask, prot, -1, 72726 return __vmalloc_node(size, 1, gfp_mask, prot, -1,
72727@@ -1709,6 +1772,7 @@ static inline void *__vmalloc_node_flags(unsigned long size, 72727@@ -1711,6 +1774,7 @@ static inline void *__vmalloc_node_flags(unsigned long size,
72728 * For tight control over page level allocator and protection flags 72728 * For tight control over page level allocator and protection flags
72729 * use __vmalloc() instead. 72729 * use __vmalloc() instead.
72730 */ 72730 */
@@ -72732,7 +72732,7 @@ index 65d5fd2..4f14696 100644
72732 void *vmalloc(unsigned long size) 72732 void *vmalloc(unsigned long size)
72733 { 72733 {
72734 return __vmalloc_node_flags(size, -1, GFP_KERNEL | __GFP_HIGHMEM); 72734 return __vmalloc_node_flags(size, -1, GFP_KERNEL | __GFP_HIGHMEM);
72735@@ -1725,6 +1789,7 @@ EXPORT_SYMBOL(vmalloc); 72735@@ -1727,6 +1791,7 @@ EXPORT_SYMBOL(vmalloc);
72736 * For tight control over page level allocator and protection flags 72736 * For tight control over page level allocator and protection flags
72737 * use __vmalloc() instead. 72737 * use __vmalloc() instead.
72738 */ 72738 */
@@ -72740,7 +72740,7 @@ index 65d5fd2..4f14696 100644
72740 void *vzalloc(unsigned long size) 72740 void *vzalloc(unsigned long size)
72741 { 72741 {
72742 return __vmalloc_node_flags(size, -1, 72742 return __vmalloc_node_flags(size, -1,
72743@@ -1739,6 +1804,7 @@ EXPORT_SYMBOL(vzalloc); 72743@@ -1741,6 +1806,7 @@ EXPORT_SYMBOL(vzalloc);
72744 * The resulting memory area is zeroed so it can be mapped to userspace 72744 * The resulting memory area is zeroed so it can be mapped to userspace
72745 * without leaking data. 72745 * without leaking data.
72746 */ 72746 */
@@ -72748,7 +72748,7 @@ index 65d5fd2..4f14696 100644
72748 void *vmalloc_user(unsigned long size) 72748 void *vmalloc_user(unsigned long size)
72749 { 72749 {
72750 struct vm_struct *area; 72750 struct vm_struct *area;
72751@@ -1766,6 +1832,7 @@ EXPORT_SYMBOL(vmalloc_user); 72751@@ -1768,6 +1834,7 @@ EXPORT_SYMBOL(vmalloc_user);
72752 * For tight control over page level allocator and protection flags 72752 * For tight control over page level allocator and protection flags
72753 * use __vmalloc() instead. 72753 * use __vmalloc() instead.
72754 */ 72754 */
@@ -72756,7 +72756,7 @@ index 65d5fd2..4f14696 100644
72756 void *vmalloc_node(unsigned long size, int node) 72756 void *vmalloc_node(unsigned long size, int node)
72757 { 72757 {
72758 return __vmalloc_node(size, 1, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL, 72758 return __vmalloc_node(size, 1, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL,
72759@@ -1785,6 +1852,7 @@ EXPORT_SYMBOL(vmalloc_node); 72759@@ -1787,6 +1854,7 @@ EXPORT_SYMBOL(vmalloc_node);
72760 * For tight control over page level allocator and protection flags 72760 * For tight control over page level allocator and protection flags
72761 * use __vmalloc_node() instead. 72761 * use __vmalloc_node() instead.
72762 */ 72762 */
@@ -72764,7 +72764,7 @@ index 65d5fd2..4f14696 100644
72764 void *vzalloc_node(unsigned long size, int node) 72764 void *vzalloc_node(unsigned long size, int node)
72765 { 72765 {
72766 return __vmalloc_node_flags(size, node, 72766 return __vmalloc_node_flags(size, node,
72767@@ -1807,10 +1875,10 @@ EXPORT_SYMBOL(vzalloc_node); 72767@@ -1809,10 +1877,10 @@ EXPORT_SYMBOL(vzalloc_node);
72768 * For tight control over page level allocator and protection flags 72768 * For tight control over page level allocator and protection flags
72769 * use __vmalloc() instead. 72769 * use __vmalloc() instead.
72770 */ 72770 */
@@ -72777,7 +72777,7 @@ index 65d5fd2..4f14696 100644
72777 -1, __builtin_return_address(0)); 72777 -1, __builtin_return_address(0));
72778 } 72778 }
72779 72779
72780@@ -1829,6 +1897,7 @@ void *vmalloc_exec(unsigned long size) 72780@@ -1831,6 +1899,7 @@ void *vmalloc_exec(unsigned long size)
72781 * Allocate enough 32bit PA addressable pages to cover @size from the 72781 * Allocate enough 32bit PA addressable pages to cover @size from the
72782 * page level allocator and map them into contiguous kernel virtual space. 72782 * page level allocator and map them into contiguous kernel virtual space.
72783 */ 72783 */
@@ -72785,7 +72785,7 @@ index 65d5fd2..4f14696 100644
72785 void *vmalloc_32(unsigned long size) 72785 void *vmalloc_32(unsigned long size)
72786 { 72786 {
72787 return __vmalloc_node(size, 1, GFP_VMALLOC32, PAGE_KERNEL, 72787 return __vmalloc_node(size, 1, GFP_VMALLOC32, PAGE_KERNEL,
72788@@ -1843,6 +1912,7 @@ EXPORT_SYMBOL(vmalloc_32); 72788@@ -1845,6 +1914,7 @@ EXPORT_SYMBOL(vmalloc_32);
72789 * The resulting memory area is 32bit addressable and zeroed so it can be 72789 * The resulting memory area is 32bit addressable and zeroed so it can be
72790 * mapped to userspace without leaking data. 72790 * mapped to userspace without leaking data.
72791 */ 72791 */
@@ -72793,7 +72793,7 @@ index 65d5fd2..4f14696 100644
72793 void *vmalloc_32_user(unsigned long size) 72793 void *vmalloc_32_user(unsigned long size)
72794 { 72794 {
72795 struct vm_struct *area; 72795 struct vm_struct *area;
72796@@ -2105,6 +2175,8 @@ int remap_vmalloc_range(struct vm_area_struct *vma, void *addr, 72796@@ -2107,6 +2177,8 @@ int remap_vmalloc_range(struct vm_area_struct *vma, void *addr,
72797 unsigned long uaddr = vma->vm_start; 72797 unsigned long uaddr = vma->vm_start;
72798 unsigned long usize = vma->vm_end - vma->vm_start; 72798 unsigned long usize = vma->vm_end - vma->vm_start;
72799 72799
@@ -78680,7 +78680,7 @@ index c94c051..be0abd1 100644
78680 chip->pci = pci; 78680 chip->pci = pci;
78681 chip->irq = -1; 78681 chip->irq = -1;
78682diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c 78682diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
78683index 59abd84..74a3744 100644 78683index 493ae7c..c0f5892 100644
78684--- a/sound/soc/soc-core.c 78684--- a/sound/soc/soc-core.c
78685+++ b/sound/soc/soc-core.c 78685+++ b/sound/soc/soc-core.c
78686@@ -1021,7 +1021,7 @@ static snd_pcm_uframes_t soc_pcm_pointer(struct snd_pcm_substream *substream) 78686@@ -1021,7 +1021,7 @@ static snd_pcm_uframes_t soc_pcm_pointer(struct snd_pcm_substream *substream)
@@ -78692,7 +78692,7 @@ index 59abd84..74a3744 100644
78692 .open = soc_pcm_open, 78692 .open = soc_pcm_open,
78693 .close = soc_codec_close, 78693 .close = soc_codec_close,
78694 .hw_params = soc_pcm_hw_params, 78694 .hw_params = soc_pcm_hw_params,
78695@@ -2128,6 +2128,7 @@ static int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) 78695@@ -2129,6 +2129,7 @@ static int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
78696 rtd->pcm = pcm; 78696 rtd->pcm = pcm;
78697 pcm->private_data = rtd; 78697 pcm->private_data = rtd;
78698 if (platform->driver->ops) { 78698 if (platform->driver->ops) {