[PATCH] Convert notifier_chain_register to atomic_notifier_chain_register for

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# HG changeset patch
# User agriffis@xxxxxxxxxxxxxxx
# Node ID 33a2d3fb09120f3c9342ddeba2c20200571de75b
# Parent  e677133a59a9c5313e6985e5ba63ff50aecec42c
Convert notifier_chain_register to atomic_notifier_chain_register for
xen_panic_block

Signed-off-by: Aron Griffis <aron@xxxxxx>

diff -r e677133a59a9 -r 33a2d3fb0912 arch/ia64/kernel/setup.c
--- a/arch/ia64/kernel/setup.c	Thu Aug 03 00:43:34 2006 +0200
+++ b/arch/ia64/kernel/setup.c	Wed Aug 02 22:25:15 2006 -0400
@@ -84,7 +84,9 @@ xen_panic_event(struct notifier_block *t
 }
 
 static struct notifier_block xen_panic_block = {
-	xen_panic_event, NULL, 0 /* try to go last */
+	.notifier_call	= xen_panic_event,
+	.next		= NULL,
+	.priority	= 0	/* try to go last */
 };
 #endif
 
@@ -442,7 +444,7 @@ setup_arch (char **cmdline_p)
 	if (is_running_on_xen()) {
 		setup_xen_features();
 		/* Register a call for panic conditions. */
-		notifier_chain_register(&panic_notifier_list, &xen_panic_block);
+		atomic_notifier_chain_register(&panic_notifier_list, &xen_panic_block);
 	}
 #endif
 

--

Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux