X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fnotifier.h;h=51dbab9710c7ea27ccdf9743076f9387d02a9d2a;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=7ff386a6ae87dd216e719dca52c39ce7aa12946f;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/linux/notifier.h b/include/linux/notifier.h index 7ff386a6a..51dbab971 100644 --- a/include/linux/notifier.h +++ b/include/linux/notifier.h @@ -65,7 +65,7 @@ struct raw_notifier_head { } while (0) #define ATOMIC_NOTIFIER_INIT(name) { \ - .lock = __SPIN_LOCK_UNLOCKED(name.lock), \ + .lock = SPIN_LOCK_UNLOCKED, \ .head = NULL } #define BLOCKING_NOTIFIER_INIT(name) { \ .rwsem = __RWSEM_INITIALIZER((name).rwsem), \