Blame test/integration/rhel-7.5/gcc-static-local-var.patch
|
Packit Service |
da4517 |
diff -Nupr src.orig/arch/x86/kernel/ldt.c src/arch/x86/kernel/ldt.c
|
|
Packit Service |
da4517 |
--- src.orig/arch/x86/kernel/ldt.c 2017-09-22 15:27:20.847052651 -0400
|
|
Packit Service |
da4517 |
+++ src/arch/x86/kernel/ldt.c 2017-09-22 15:27:35.573113632 -0400
|
|
Packit Service |
da4517 |
@@ -98,6 +98,12 @@ static inline int copy_ldt(mm_context_t
|
|
Packit Service |
da4517 |
return 0;
|
|
Packit Service |
da4517 |
}
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
+void hi_there(void)
|
|
Packit Service |
da4517 |
+{
|
|
Packit Service |
da4517 |
+ if (!jiffies)
|
|
Packit Service |
da4517 |
+ printk("hi there\n");
|
|
Packit Service |
da4517 |
+}
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
/*
|
|
Packit Service |
da4517 |
* we do not have to muck with descriptors here, that is
|
|
Packit Service |
da4517 |
* done in switch_mm() as needed.
|
|
Packit Service |
da4517 |
@@ -107,6 +113,8 @@ int init_new_context(struct task_struct
|
|
Packit Service |
da4517 |
struct mm_struct *old_mm;
|
|
Packit Service |
da4517 |
int retval = 0;
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
+ hi_there();
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
mutex_init(&mm->context.lock);
|
|
Packit Service |
da4517 |
mm->context.size = 0;
|
|
Packit Service |
da4517 |
old_mm = current->mm;
|