Blame test/integration/ubuntu-16.04/gcc-static-local-var.patch
|
Packit Service |
ac8aad |
diff -Nupr src.orig/arch/x86/kernel/ldt.c src/arch/x86/kernel/ldt.c
|
|
Packit Service |
ac8aad |
--- src.orig/arch/x86/kernel/ldt.c 2016-12-15 19:55:57.560000000 +0000
|
|
Packit Service |
ac8aad |
+++ src/arch/x86/kernel/ldt.c 2016-12-15 19:57:01.124000000 +0000
|
|
Packit Service |
ac8aad |
@@ -99,6 +99,12 @@ static void free_ldt_struct(struct ldt_s
|
|
Packit Service |
ac8aad |
kfree(ldt);
|
|
Packit Service |
ac8aad |
}
|
|
Packit Service |
ac8aad |
|
|
Packit Service |
ac8aad |
+void hi_there(void)
|
|
Packit Service |
ac8aad |
+{
|
|
Packit Service |
ac8aad |
+ if (!jiffies)
|
|
Packit Service |
ac8aad |
+ printk("hi there\n");
|
|
Packit Service |
ac8aad |
+}
|
|
Packit Service |
ac8aad |
+
|
|
Packit Service |
ac8aad |
/*
|
|
Packit Service |
ac8aad |
* we do not have to muck with descriptors here, that is
|
|
Packit Service |
ac8aad |
* done in switch_mm() as needed.
|
|
Packit Service |
ac8aad |
@@ -109,6 +115,8 @@ int init_new_context(struct task_struct
|
|
Packit Service |
ac8aad |
struct mm_struct *old_mm;
|
|
Packit Service |
ac8aad |
int retval = 0;
|
|
Packit Service |
ac8aad |
|
|
Packit Service |
ac8aad |
+ hi_there();
|
|
Packit Service |
ac8aad |
+
|
|
Packit Service |
ac8aad |
mutex_init(&mm->context.lock);
|
|
Packit Service |
ac8aad |
old_mm = current->mm;
|
|
Packit Service |
ac8aad |
if (!old_mm) {
|