diff options
author | Amerigo Wang <[email protected]> | 2011-07-25 17:13:08 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-07-25 20:57:14 -0700 |
commit | 80f1ff97d0a9d92f44d2b2dd9425afa950e58f2b (patch) | |
tree | bee18bc88b112e75ca026b1a2b406f9f909e91bc /net/lapb/lapb_subr.c | |
parent | a1bb73d76bc814e9385390e6aa9880d884322e2e (diff) |
notifiers: cpu: move cpu notifiers into cpu.h
We presently define all kinds of notifiers in notifier.h. This is not
necessary at all, since different subsystems use different notifiers, they
are almost non-related with each other.
This can also save much build time. Suppose I add a new netdevice event,
really I don't have to recompile all the source, just network related.
Without this patch, all the source will be recompiled.
I move the notify events near to their subsystem notifier registers, so
that they can be found more easily.
This patch:
It is not necessary to share the same notifier.h.
Signed-off-by: WANG Cong <[email protected]>
Cc: David Miller <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions