kpatch/test/integration/f22/gcc-static-local-var.patch
Josh Poimboeuf 8dc6a4dd3c test: move tests to f22 directory
The integration tests are targeted for Fedora kernels, so move them to a
new f22 directory.  The README file specifies the exact kernel version
they're targeted for.
2015-10-26 21:09:19 -05:00

27 lines
616 B
Diff

Index: src/arch/x86/kernel/ldt.c
===================================================================
--- src.orig/arch/x86/kernel/ldt.c
+++ src/arch/x86/kernel/ldt.c
@@ -100,6 +100,12 @@ static inline int copy_ldt(mm_context_t
return 0;
}
+void hi_there(void)
+{
+ if (!jiffies)
+ printk("hi there\n");
+}
+
/*
* we do not have to muck with descriptors here, that is
* done in switch_mm() as needed.
@@ -109,6 +115,8 @@ int init_new_context(struct task_struct
struct mm_struct *old_mm;
int retval = 0;
+ hi_there();
+
mutex_init(&mm->context.lock);
mm->context.size = 0;
old_mm = current->mm;