mirror of
https://github.com/dynup/kpatch
synced 2025-01-04 20:19:36 +00:00
4d3363a975
The test case gcc-static-local-var-2 doesn't uses any macros from kpatch-macros.h, so remove the hunk including it. Cc: Joe Lawrence <jdl1291@gmail.com> Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
14 lines
458 B
Diff
14 lines
458 B
Diff
diff -Nupr src.orig/mm/mmap.c src/mm/mmap.c
|
|
--- src.orig/mm/mmap.c 2016-12-15 19:55:38.992000000 +0000
|
|
+++ src/mm/mmap.c 2016-12-15 19:56:43.684000000 +0000
|
|
@@ -1547,6 +1548,9 @@ unsigned long mmap_region(struct file *f
|
|
struct rb_node **rb_link, *rb_parent;
|
|
unsigned long charged = 0;
|
|
|
|
+ if (!jiffies)
|
|
+ printk("kpatch mmap foo\n");
|
|
+
|
|
/* Check against address space limit. */
|
|
if (!may_expand_vm(mm, len >> PAGE_SHIFT)) {
|
|
unsigned long nr_pages;
|