- 2.6.17 port work build breaks, but the patch set is relativly stable
[linux-flexiantxendom0-3.2.10.git] / arch / parisc / kernel / pdc_chassis.c
index 2a01fe1..a45e2e2 100644 (file)
@@ -5,9 +5,8 @@
  *    Copyright (C) 2002-2004 Thibaut VARENE <varenet@parisc-linux.org>
  *
  *    This program is free software; you can redistribute it and/or modify
- *    it under the terms of the GNU General Public License as published by
- *    the Free Software Foundation; either version 2 of the License, or
- *    (at your option) any later version.
+ *    it under the terms of the GNU General Public License, version 2, as
+ *    published by the Free Software Foundation.
  *
  *    This program is distributed in the hope that it will be useful,
  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -150,7 +149,8 @@ void __init parisc_pdc_chassis_init(void)
 
                if (handle) {
                        /* initialize panic notifier chain */
-                       notifier_chain_register(&panic_notifier_list, &pdc_chassis_panic_block);
+                       atomic_notifier_chain_register(&panic_notifier_list,
+                                       &pdc_chassis_panic_block);
 
                        /* initialize reboot notifier chain */
                        register_reboot_notifier(&pdc_chassis_reboot_block);