]> git.baikalelectronics.ru Git - kernel.git/commit
module: add within_module() function
authorPetr Mladek <pmladek@suse.cz>
Sat, 26 Jul 2014 21:54:01 +0000 (07:24 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 27 Jul 2014 11:22:43 +0000 (20:52 +0930)
commitf9183329707768586d792a1c69e9e127623b236a
tree35db0592980536ae7cde8472d21a27edf51b7fd5
parentf63e5a95d1e7e9f69f93727d477d116b54f8dcf9
module: add within_module() function

It is just a small optimization that allows to replace few
occurrences of within_module_init() || within_module_core()
with a single call.

Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/module.h
kernel/module.c