module: __module_address
commite610499e2656e61975affd0af56b26eb73964c84
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 31 Mar 2009 19:05:31 +0000 (31 13:05 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 31 Mar 2009 02:35:31 +0000 (31 13:05 +1030)
treee870def77ba17f717a8cf2766f0b4ac8c2ae89f3
parent414fd31b2553aaf160ca9b9afe45aa0372b01b92
module: __module_address

Impact: New API, cleanup

ksplice wants to know the bounds of a module, not just the module text.

It makes sense to have __module_address.  We then implement
is_module_address and __module_text_address in terms of this (and
change is_module_text_address() to bool while we're at it).

Also, add proper kerneldoc for them all.

Cc: Anders Kaseorg <andersk@mit.edu>
Cc: Jeff Arnold <jbarnold@mit.edu>
Cc: Tim Abbott <tabbott@mit.edu>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/module.h
kernel/module.c