diff options
author | Daniel Walker <dwalker@mvista.com> | 2007-02-06 03:04:06 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-08 21:38:53 +0100 |
commit | 84ff602efba2664762070add0600aa5c870a2659 (patch) | |
tree | c4ca2f4acb4210edce543e677a7308de6ee4211c /net/wanrouter/wanmain.c | |
parent | [NET]: user of the jiffies rounding code: Networking (diff) | |
download | linux-84ff602efba2664762070add0600aa5c870a2659.tar.xz linux-84ff602efba2664762070add0600aa5c870a2659.zip |
[ATM]: Fix for crash in adummy_init()
This was reported by Ingo Molnar here,
http://lkml.org/lkml/2006/12/18/119
The problem is that adummy_init() depends on atm_init() , but adummy_init()
is called first.
So I put atm_init() into subsys_initcall which seems appropriate, and it
will still get module_init() if it becomes a module.
Interesting to note that you could crash your system here if you just load
the modules in the wrong order.
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions