[PATCH] x86_64: actively synchronize vmalloc area when registering certain callbacks
[deliverable/linux.git] / arch / x86_64 / kernel / traps.c
index 28d50dc540e89c2633770e4087bcef476c101e09..b25bc904d42dffe3dfccc46180cfbe538bf4af6f 100644 (file)
@@ -78,6 +78,8 @@ int register_die_notifier(struct notifier_block *nb)
 {
        int err = 0;
        unsigned long flags;
+
+       vmalloc_sync_all();
        spin_lock_irqsave(&die_notifier_lock, flags);
        err = notifier_chain_register(&die_chain, nb);
        spin_unlock_irqrestore(&die_notifier_lock, flags);
This page took 0.02362 seconds and 5 git commands to generate.