From: Andrew Morton Date: Tue, 16 Jun 2009 22:33:37 +0000 (-0700) Subject: headers: move module_bug_finalize()/module_bug_cleanup() definitions into module.h X-Git-Tag: v2.6.31-rc1~299^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d9c25dde878a636ee9a9b53923569171bf9a55b;p=pandora-kernel.git headers: move module_bug_finalize()/module_bug_cleanup() definitions into module.h They're in linux/bug.h at present, which causes include order tangles. In particular, linux/bug.h cannot be used by linux/atomic.h because, according to Nikanth: linux/bug.h pulls in linux/module.h => linux/spinlock.h => asm/spinlock.h (which uses atomic_inc) => asm/atomic.h. bug.h is a pretty low-level thing and module.h is a higher-level thing, IMO. Cc: Nikanth Karthikesan Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed