Loading include/linux/preempt.h +4 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ #include <linux/linkage.h> #include <linux/cleanup.h> #include <linux/list.h> #include <linux/types.h> /* * We put the hardirq and softirq counter into the preemption Loading Loading @@ -360,7 +360,9 @@ void preempt_notifier_unregister(struct preempt_notifier *notifier); static inline void preempt_notifier_init(struct preempt_notifier *notifier, struct preempt_ops *ops) { INIT_HLIST_NODE(¬ifier->link); /* INIT_HLIST_NODE() open coded, to avoid dependency on list.h */ notifier->link.next = NULL; notifier->link.pprev = NULL; notifier->ops = ops; } Loading Loading
include/linux/preempt.h +4 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ #include <linux/linkage.h> #include <linux/cleanup.h> #include <linux/list.h> #include <linux/types.h> /* * We put the hardirq and softirq counter into the preemption Loading Loading @@ -360,7 +360,9 @@ void preempt_notifier_unregister(struct preempt_notifier *notifier); static inline void preempt_notifier_init(struct preempt_notifier *notifier, struct preempt_ops *ops) { INIT_HLIST_NODE(¬ifier->link); /* INIT_HLIST_NODE() open coded, to avoid dependency on list.h */ notifier->link.next = NULL; notifier->link.pprev = NULL; notifier->ops = ops; } Loading