Re: [PATCH] kernel_notifier: register conditional raw notifier

2012-08-08 Thread Cong Wang
On 08/08/2012 06:57 PM, Jenny TC wrote: Introduce a new API raw_notifier_chain_cond_register to add a notifier to a raw notifier chain, only if notifier not already present in the chain. Forgot its declaration? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

[PATCH] kernel_notifier: register conditional raw notifier

2012-08-07 Thread Jenny TC
Introduce a new API raw_notifier_chain_cond_register to add a notifier to a raw notifier chain, only if notifier not already present in the chain. Signed-off-by: Jenny TC --- kernel/notifier.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/kernel/notifier.c b/kernel/no