kprobes: Move __kprobes definition into compiler.h
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 4 Apr 2013 10:40:50 +0000 (19:40 +0900)
committerIngo Molnar <mingo@kernel.org>
Mon, 8 Apr 2013 15:28:34 +0000 (17:28 +0200)
commit324670b620ab1ed00ba160e435686bd2ae4a59ce
tree176c0f872668097350fa6c38cddd884088862ce6
parentcc2f5a8adbc7ab1fdb7d9bcf4ea9838c73e82dfe
kprobes: Move __kprobes definition into compiler.h

Currently, __kprobes is defined in linux/kprobes.h which
is too big to be included in small or basic headers
that want to make use of this simple attribute.

So move __kprobes definition into linux/compiler.h
in which other compiler attributes are defined.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Nadia Yvette Chambers <nyc@holomorphy.com>
Cc: yrl.pp-manager.tt@hitachi.com
Cc: David S. Miller <davem@davemloft.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20130404104049.21071.20908.stgit@mhiramat-M0-7522
[ Improved the attribute explanation a bit. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/compiler.h
include/linux/kprobes.h