diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-31 13:05:31 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-31 13:05:32 +1030 |
commit | a6e6abd575fcbe6572ebc7a70ad616406d206fa8 (patch) | |
tree | 3909d2be063116936179bb4da85d5cb4aed32ce6 /lib/locking-selftest-softirq.h | |
parent | e610499e2656e61975affd0af56b26eb73964c84 (diff) | |
download | lwn-a6e6abd575fcbe6572ebc7a70ad616406d206fa8.tar.gz lwn-a6e6abd575fcbe6572ebc7a70ad616406d206fa8.zip |
module: remove module_text_address()
Impact: Replace and remove risky (non-EXPORTed) API
module_text_address() returns a pointer to the module, which given locking
improvements in module.c, is useless except to test for NULL:
1) If the module can't go away, use __module_text_address.
2) Otherwise, just use is_module_text_address().
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions