Blame test/integration/rhel-8.0/gcc-static-local-var-3.patch
|
Packit Service |
da4517 |
diff --git a/kernel/reboot.c b/kernel/reboot.c
|
|
Packit Service |
da4517 |
index e4ced88..0c0b5a2 100644
|
|
Packit Service |
da4517 |
--- a/kernel/reboot.c
|
|
Packit Service |
da4517 |
+++ b/kernel/reboot.c
|
|
Packit Service |
da4517 |
@@ -393,8 +393,15 @@ void kernel_power_off(void)
|
|
Packit Service |
da4517 |
return ret;
|
|
Packit Service |
da4517 |
}
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
+void kpatch_bar(void)
|
|
Packit Service |
da4517 |
+{
|
|
Packit Service |
da4517 |
+ if (!jiffies)
|
|
Packit Service |
da4517 |
+ printk("kpatch_foo\n");
|
|
Packit Service |
da4517 |
+}
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
static void deferred_cad(struct work_struct *dummy)
|
|
Packit Service |
da4517 |
{
|
|
Packit Service |
da4517 |
+ kpatch_bar();
|
|
Packit Service |
da4517 |
kernel_restart(NULL);
|
|
Packit Service |
da4517 |
}
|
|
Packit Service |
da4517 |
|