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)
commit9b20a352d78a7651aa68a9220f77ccb03009d892
tree35db0592980536ae7cde8472d21a27edf51b7fd5
parent3a611c3cfba2106aed3187b90903855e776e2761
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
This page took 0.026964 seconds and 5 git commands to generate.