]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/powerpc/platforms/pseries/eeh_event.c
[PATCH] spin/rwlock init cleanups
[net-next-2.6.git] / arch / powerpc / platforms / pseries / eeh_event.c
index 8f2d12935b99fe47de2a273ad4b12338fbcb5f4f..45ccc687e57cbedc3395f0c113b7117a5c6c1b53 100644 (file)
@@ -35,7 +35,7 @@
  */
 
 /* EEH event workqueue setup. */
-static spinlock_t eeh_eventlist_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(eeh_eventlist_lock);
 LIST_HEAD(eeh_eventlist);
 static void eeh_thread_launcher(void *);
 DECLARE_WORK(eeh_event_wq, eeh_thread_launcher, NULL);