From: Daniel Walker Date: Tue, 6 Feb 2007 02:04:06 +0000 (-0800) Subject: [ATM]: Fix for crash in adummy_init() X-Git-Tag: v2.6.21-rc1~83^2~65^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ff602efba2664762070add0600aa5c870a2659;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed